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
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.
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.
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.
They don't allow using any third-party services either.

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