开发者

Why won't hotmail let me include a name in addition to my email address?

开发者 https://www.devze.com 2023-01-12 14:53 出处:网络
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@mydom

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消