Reputation: 12798
I have a python GAE app that sends emails like in the example using the address of a registered administrator for the application as the "sender" address. When an email arrives from such an API call, here's a pic of the attached warning.
This message may not have been sent by: [email protected] Learn more Report phishing
Am I doing something wrong? None of the 3 options mentioned in the "Learn More" link are relevant I believe: the sender is a gmail address so the "SPF and DKIM authentication" solution isn't relevant, I'm not sending to a mailing list and I'm not using SMTP (I think, though maybe GAE is...).
Upvotes: 6
Views: 1755
Reputation: 101139
Assuming you're seeing this in production, it's probably because you're claiming to be from a gmail address, but sending via App Engine. Use one of your app's email addresses as the sender ([email protected]) and it should work fine.
Upvotes: 8
Reputation: 1019
I think the best solution is to use Google's SMTP servers... It's the best way to not be considered as a spammer.
Upvotes: 0