INNER CODE UNIT · TypeScript

sendEmail

modelence/modelence · packages/aws-ses/src/index.ts:83

export async function sendEmail(
  {
    from,
    to,
    subject,
    html,
    text,
    cc,
    bcc,
    replyTo,
    headers,
    attachments,
  }: EmailPayload,
) {
  const client = initializeSESClient();
  const transporter = initializeTransporter();
  const { message } = await transporter.sendMail({
    from,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…