SMTP Transporter through AWS WorkMail

381 Views Asked by At

I've created an AWS Workmail account, and I'd like to send an email from a server (NodeJS) using Nodemailer.

Please correct me if any of my understandings are wrong, but email services are just servers using the SMTP protocol. When I send an email, the server lookup to determine where to send the mail to is done through MX records.

My 2 questions are:

Can I redirect a Domain's MX records to a public inbox? For example "[email protected]" will forward all it's mail to "[email protected]"?

Can I use Workmail as a transporter in nodemailer? For example:

transport: 'smtps://[email protected]:[email protected]',

Any helpful resources are very welcome. Thank you in advance!

0

There are 0 best solutions below