views:

58

answers:

2

I'm using the following config:

ActionMailer::Base.smtp_settings = {
  :address => "smtp.gmail.com",
  :port => 587,
  :authentication => :plain,
  :enable_starttls_auto => true,
  :user_name  => "[email protected]",
  :password  => "sap"
}

When I send the mail, log shows mail is sent. I can see the mail in logger.

But, mail is not delivered to recipient email.

+2  A: 

Just went through this myself. If you're using ruby 1.8.6, you need to upgrade to 1.8.7 for it to work out of the box. If not, you can try looking for action_mailer_tls off GitHub.

Kevin
A: 

I am having similar problems on my system and ruby 1.8.7 is already installed. If i do the delivery in the script/console, i get

#<TMail::Mail port=#<TMail::StringPort:id=0x3fa238864c90> bodyport=#<TMail::StringPort:id=0x3fa238861fa4>>

in addition to the mail.

Any ideas?

Skully
hiii..Its working for me now..jus followed the instructions in http://github.com/openrain/action_mailer_tls.. you can try this..
sgi