How to Send Emails from AWS Lambda Using SMTP without SES?

0
25
Asked By CuriousCat123 On

I'm working on a project where I need to send documents stored in S3 using AWS Lambda, but my company doesn't allow the use of AWS SES for sending emails. I'm looking for alternative ways to configure my Lambda function to send emails via SMTP. Any suggestions or setups that could help me accomplish this?

3 Answers

Answered By SafeSMTPUser88 On

Your Lambda function can connect to an SMTP server that your company approves. Just ensure you use TLS for secure connections and valid credentials. You might need to check if AWS is blocking the outbound traffic since that could be an issue too. Otherwise, consider connecting to a third-party API instead.

LambdaLearner76 -

I'm really new to this. Could you elaborate on how to set it up and test it?

Answered By TechExplorer44 On

That's a tough situation. You could ask why they won't let you use SES. As for alternatives, you will have to use a third-party SMTP server, which might involve setting one up yourself if you can't use a provider.

Answered By EmailEnthusiast99 On

You might want to look into using a third-party email service like SendGrid or something similar. Just make sure it's approved by your company since you're restricted from SES.

LambdaLearner76 -

They don't allow using any third-party services either.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.