Complete Guide: Sending Emails in Node.js with Amazon SES and Gmail | Step-by-Step Tutorial

  Рет қаралды 18,992

Web Wizard

Web Wizard

Күн бұрын

Пікірлер: 40
@moona1993august
@moona1993august 9 ай бұрын
You brightened my day with innocent narration :)Great tutorial, I am a lone freelancer with no team and no experience with aws much. so this video helps alot, thanks alot !!!!
@brooklynStevee
@brooklynStevee 3 ай бұрын
Excellent presentation... you covered all the bases in 24 minutes... Thank you
@spillcode9462
@spillcode9462 Ай бұрын
Great video!
@subhamnayak866
@subhamnayak866 2 ай бұрын
i was creating a newsletter app this was so useful.
@lexNwimue
@lexNwimue 5 ай бұрын
Good stuff, man. Needed an overview and you really provided that and more
@glenbeumer8607
@glenbeumer8607 5 ай бұрын
Good tutorial - made it simple to get started! Thanks.
@nickthiru
@nickthiru Жыл бұрын
@16:42 It happens, even to the best and most experienced of us ;-) . Thanks for a great tutorial!
@webwizard8
@webwizard8 Жыл бұрын
😄 Even the best stumble sometimes, right? I appreciate your understanding and I'm glad you enjoyed the tutorial! If there's anything else you'd like to see or if you have questions, feel free to reach out. Thanks for watching and your positive feedback!
@sohamvishwas6795
@sohamvishwas6795 2 ай бұрын
Thanks
@Rahulkumarsharma-h6f
@Rahulkumarsharma-h6f 10 ай бұрын
Thanks buddy it was Really helpful
@digenmore83
@digenmore83 6 ай бұрын
Thanks a lot 🙌
@webwizard8
@webwizard8 Жыл бұрын
Developer Guide for SDK Version 3 - docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/javascript_ses_code_examples.html Modular packages in AWS SDK for JavaScript - aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/ AWS Management Console - aws.amazon.com/console/ Amazon SES - aws.amazon.com/ses/ GitHub Repo - github.com/kalyansaxena/nodejs-aws-ses-tutorial Checkout this playlist - kzbin.info/aero/PL72qLZfXkeBRseVthAcq2__EPmGoXIL2D
@appstuff6565
@appstuff6565 6 ай бұрын
Hey thanks for this. Im using Nextjs and supabase and im now requiring to use a smtp, for sending sign up and reset emails only, so what do you think is the best way to do about this? Nodemailer + Amazon SES? or can I just use nodemailer or aws ses alone? I'm confused.
@naveenbisht4627
@naveenbisht4627 9 ай бұрын
Thanks man, This works for me.
@devhere-y3h
@devhere-y3h 3 ай бұрын
How to get email status like opened, clicked from AWS and save them in database against each sent email
@naturevideos6464
@naturevideos6464 Жыл бұрын
Thanks .it was very helpful
@webwizard8
@webwizard8 Жыл бұрын
Most welcome! Consider subscribing to the channel for more content!
@HarshitChadha123
@HarshitChadha123 Жыл бұрын
thanks bro it worked!
@webwizard8
@webwizard8 Жыл бұрын
You're welcome!
@sombraerato5421
@sombraerato5421 10 ай бұрын
Email address is not verified. The following identities failed the check in region AP-SOUTH-1
@roshanican504
@roshanican504 Жыл бұрын
well explained thanks alot man! do upload one where we can send OTP using aws-ses would be grateful if you do it using express or fastify, Thanks again
@webwizard8
@webwizard8 Жыл бұрын
I'm glad you found the explanation helpful! Thanks for the suggestion, It was already on my list but I was having issues regarding the messages reaching out to my mobile due to mobile network operator, from the Amazon SNS service it was going all well, But I'll definitely consider creating a video on this, Stay tuned for more content, and thanks again for your support!
@yabsdubai
@yabsdubai Жыл бұрын
how to send bulk email?
@ashutoshsinghe
@ashutoshsinghe 5 ай бұрын
facing an error ses_Client.send is not a constructor
@michaelseth4954
@michaelseth4954 Жыл бұрын
Hi, I am having issues sending this mail on live server, It works on local but when I deploy it on AWS it tells me "InvalidClientTokenId: The security token included in the request is invalid"
@webwizard8
@webwizard8 Жыл бұрын
Can you try generating new credentials for the same user and use the same ?
@michaelseth4954
@michaelseth4954 Жыл бұрын
@@webwizard8 It still doesn't work after deploying to AWS, It works on local though
@abhiseksahu4156
@abhiseksahu4156 Жыл бұрын
how to send direct email.i dont want to end verification email so what can i do
@webwizard8
@webwizard8 Жыл бұрын
Hi, when you are in sandbox, AWS requires both sender and receiver mail addresses to be verified If you don't want to verify to address mail then you should move out of the sandbox and get a production access
@shivShaktitech
@shivShaktitech Жыл бұрын
this wont work now aws made email and domain both manditory
@caesarsage
@caesarsage Жыл бұрын
Thanks How do i attached a pdf file
@webwizard8
@webwizard8 Жыл бұрын
Thank you for taking time to comment, to address your query I'd recommend to use Nodemailer with SES transporter I've made a tutorial on this, please find here - kzbin.info/www/bejne/nKXKfGl7l6abr9E I hope this resolves your query and consider subscribing to the channel!
@PankajKumar-gz1mt
@PankajKumar-gz1mt Жыл бұрын
Hi bro if i send mail id wrong then what response will i get from it.
@webwizard8
@webwizard8 Жыл бұрын
Good question brother When you are in the Amazon SES sandbox, you'll definitely verify your mail address because verifying mail identity is mandatory and you can send mail to the verified identities only. So if not verified you will get an error from Amazon SES service and in our code it will be caught by the try-catch block. In the case of production i.e. moving out of the sandbox - If you send an email to a non-existent or incorrect recipient email address, Amazon SES (Simple Email Service) will still process the request and return a response indicating that the email was successfully accepted for delivery. This is because SES doesn't verify the validity of the recipient's email address at the time of sending; it's responsible for relaying the email to the recipient's mail server. The response you receive from Amazon SES in case of sending to a non-existent or incorrect email address might look something like this: { ResponseMetadata: { RequestId: "abcd-efgh-ijkl" }, MessageId: "012345678901" } In this response: - ResponseMetadata: Contains metadata about the request, including a `RequestId` that uniquely identifies the request. - MessageId: Represents the unique identifier assigned by Amazon SES to the email message that you sent. Keep in mind that this response doesn't indicate the success or failure of the final delivery to the recipient's inbox. It only confirms that SES accepted the message for processing. The actual delivery status (bounce, delivery, etc.) will depend on the recipient's mail server and other factors. You might want to set up mechanisms to handle email bounces and monitor the status of sent emails for a more comprehensive view of the email delivery process.
@PankajKumar-gz1mt
@PankajKumar-gz1mt Жыл бұрын
@@webwizard8 that's wonderful answer but how to do set up and how can check from coding side. If mail is not sent. Thank you for your answer.
@webwizard8
@webwizard8 Жыл бұрын
@@PankajKumar-gz1mt Well to handle bounces & complaints you have to setup Amazon SNS Bounces occur when an email cannot be delivered to the recipient. Amazon SES provides mechanisms to receive bounce notifications. You can set up Amazon SNS (Simple Notification Service) to receive bounce notifications. When you receive a bounce notification, you can mark the recipient's email as invalid or inactive in your system and take appropriate actions based on your business logic. I'd recommend to watch this video to get idea about handling bounces and complaints - kzbin.info/www/bejne/pGSpo2OYeNh8rNE
@fremeto
@fremeto Жыл бұрын
Promise { } What that meaning?
@fremeto
@fremeto Жыл бұрын
with v3 the message is promise { false }
@webwizard8
@webwizard8 Жыл бұрын
Promise { } promise will log pending as long as its results are not resolved yet. You must call .then or use await on the promise to capture the results regardless of the promise state (resolved or still pending) In the video, I've used async-await approach, Could check if you forgot to add await in front of send function call?
Setting Up AWS  SES (Simple Email Service) for a domain
24:43
Timothy Bramlett
Рет қаралды 1,4 М.
Node.js Ultimate Beginner’s Guide in 7 Easy Steps
16:20
Fireship
Рет қаралды 1,7 МЛН
How to send email through AWS SES using Lambda and API Gateway | Node.js
9:41
Computer Science Teacher
Рет қаралды 889
[Best Practices] Move Amazon SES out of Sandbox Zone | SES Production Access Request
9:54
SendMails | Email Marketing & Automation Platform
Рет қаралды 8 М.
Sending Emails with Laravel 10 via Gmail Step by Step Guide
14:37
Programming Fields
Рет қаралды 13 М.
How to use AWS Lambda & NodeJS for your email services
31:21