Sending Emails with Multiple Attachments in Node.js using Nodemailer and Amazon SES

Поділитися
Вставка
  • Опубліковано 7 лис 2024

КОМЕНТАРІ • 10

  • @jakeowen9091
    @jakeowen9091 7 місяців тому

    thanks for this awesome video

  • @appstuff6565
    @appstuff6565 5 місяців тому

    Hey Web Wizard, thanks for this, im using nextjs with supabase and supabase handles email sends in development. I now want to move from supabase to custom smtp so was gonna use nodemailer with ses, can u suggest how to go about doing that?
    Mostly my project will need to send emails for signup and password reset only atm.
    Thanks!

  • @zevdvlpr
    @zevdvlpr 7 місяців тому

    Thanks!

  • @nrico007
    @nrico007 6 місяців тому

    Thank You, Sir!

  • @haha7836hahah
    @haha7836hahah 6 місяців тому

    is there a way to send attchments with template emails??

  • @webwizard8
    @webwizard8  Рік тому

    AWS console - aws.amazon.com/console/
    Nodemailer - nodemailer.com/about/
    Nodemailer SES transport doc - nodemailer.com/transports/ses/
    GitHub Repo - github.com/kalyansaxena/nodemailer-aws-ses
    Nodemailer npm - www.npmjs.com/package/nodemailer
    AWS SDK for JavaScript SES Client npm - www.npmjs.com/package/@aws-sdk/client-ses
    Sending Emails in Node.js with Nodemailer & Gmail | Step-by-Step Tutorial - ua-cam.com/video/QDIOBsMBEI0/v-deo.html
    Complete Guide: Sending Emails in Node.js with Amazon SES and Gmail | Step-by-Step Tutorial - ua-cam.com/video/uv6O22OLFoU/v-deo.html

  • @caesarsage
    @caesarsage Рік тому +1

    Thanks for this.
    When I tried it, it works fine locally but when I deploy to Aws lambda I am using to host the server. It doesn't work

    • @webwizard8
      @webwizard8  Рік тому

      For the production, you may need to raise request for production access for Amazon SES. Please check with your amazon support and follow necessary steps as required

  • @mrcrypto9444
    @mrcrypto9444 Рік тому

    i found error about Error: Resolved credential object is not valid
    How can I contact you?

    • @webwizard8
      @webwizard8  Рік тому

      Hi, Someone reached out to me via email with the same error, I believe if that is you then I've answered what was the mistake, let me know if you are not the same person?
      Make sure you are loading env variables properly - require("dotenv").config();
      If the values you are providing to the credentials object were empty or not valid then it will not resolve