I'm trying to send emails from my Ruby on Rails application, and whenever I use the following format: Jon Doe <jdoe@mydomain.com>
, Hotmail marks the email as spam. However, when I use jdoe@mydomain.com
without the name, it goes through fine. Anybody know how to get around this so my e开发者_运维知识库mails don't get sent to spam for hotmail users?
I have SPF set up on my DNS and I'm sending from the SPF verified server if that's of any help.
Thanks!
Are you specifying the pretty name in the MAIL FROM or in the header? In the MAIL FROM, you're only supposed to include the mailbox address itself, according to RFC 2821. Most mail servers will tolerate the pretty-from there too, but Hotmail may be using that as a spam signal.
精彩评论