简体   繁体   中英

Sending emails via AWS Lambda with an SPF record

I have a Lambda function that occasionally needs to send emails via SMTP .

Some recipients are consistently blocking emails sent from my Lambda code, due to lack of an SPF record on my domain.

How can I add an SPF record to my domain when using Lambda , if I can't tell in advance which server the email will be sent from?

You can't add an SPF record with AWS Lambda. Here is how you can add an SPF record: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/spf.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM