?using sendmail for actionmailer marks my emails as spam

hi list
i am trying to understand how sendmail works, instead of using an
outgoing
mail server. it works for gmail and live.com but doesnt for yahoo or
hotmail
for example. they dont even get to the spam folder.

i am complete beginner for email. what should i do to flag outgoing
emails
as proper email by using sendmail

thanks


Heri R.
http://sprinj.com

Make sure you are sending from an email address that is from the domain
your
rails app is on.

Services like hotmail use SPF (Sender Policy Framework) DNS Records
http://www.openspf.org

And if the email isn’t from that domain it gets rejected

make sure the subject and body contain real info on the site and purpose
ie something like

Foo.bar welcomes you to their newsletter!!

This will help it to not go into junk folders


From: [email protected]
[mailto:[email protected]] On Behalf Of Heri R>
Sent: Thursday, November 23, 2006 10:27 AM
To: rubyonrails-talk
Subject: [Rails] ?using sendmail for actionmailer marks my emails as
spam

hi list
i am trying to understand how sendmail works, instead of using an
outgoing
mail server. it works for gmail and live.com but doesnt for yahoo or
hotmail
for example. they dont even get to the spam folder.

i am complete beginner for email. what should i do to flag outgoing
emails
as proper email by using sendmail

thanks


Heri R.
http://sprinj.com

I didn’t read the rest of the thread, but I got that when this line was
munged:

ActionMailer::Base.server_settings = {
:address => “myMailbox.com”,
:port => 25,
:domain => ‘myOwnRealDomain.com’, # <-- must be correct
:user_name => “whatever”,
:password => ‘****’,
:authentication => :login
}

The simplest check for spam compares the outbound domain in the mail
headers
to the actual host the mail came from. If they differ, then either a
spammer
has penetrated a computer and is using it to mask their real domain name

or a Rails newb is on the loose! :wink:


Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs