AWS SES and Next.js
Answered
Rhinelander posted this in #help-forum
RhinelanderOP
I managed to connect AWS SES with nodemailer and send emails from my domain to my personal mail - currently waiting for confirmation to get out of the sandbox mode.
Since my app will allow users to send mails from their domain to their contacts i wonder how to do that. Maybe any good resource.
Since my app will allow users to send mails from their domain to their contacts i wonder how to do that. Maybe any good resource.
Answered by B33fb0n3
the sandbox stuff is only for your aws account + region. After you are out of the sandbox, the verify of the domain is your part of your process. Can you use any method that you like to verify the domain ownership from a specific domain. This might help: https://dns.google/query?name=hobs.lol
6 Replies
RhinelanderOP
I want to do that trough code. I don't want to manually setup every domain.
@Rhinelander I managed to connect AWS SES with nodemailer and send emails from my domain to my personal mail - currently waiting for confirmation to get out of the sandbox mode.
Since my app will allow users to send mails from their domain to their contacts i wonder how to do that. Maybe any good resource.
when using nodemailer in combination with AWS SES, you can change the
from to the correct email incl. domain (see attached). So technically your can send emails from any email with every domain. However: SES will check, if the domain is verified to send mails from, so you can only send from domains that you are allowed to send fromRhinelanderOP
I saw there is programatic way to verify the domain so i should just add that? Once verified they can send mails... but will it throw me in sandbox? It takes 2 business days to get confirmed...
@Rhinelander I saw there is programatic way to verify the domain so i should just add that? Once verified they can send mails... but will it throw me in sandbox? It takes 2 business days to get confirmed...
the sandbox stuff is only for your aws account + region. After you are out of the sandbox, the verify of the domain is your part of your process. Can you use any method that you like to verify the domain ownership from a specific domain. This might help: https://dns.google/query?name=hobs.lol
Answer
happy to help
RhinelanderOP
Did not know that! Thank you