views:

30

answers:

1

I'm trying to send emails from my Ruby on Rails application, and whenever I use the following format: Jon Doe <[email protected]>, Hotmail marks the email as spam. However, when I use [email protected] without the name, it goes through fine. Anybody know how to get around this so my emails 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!

+1  A: 

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.

mrisher