Action_mailer - No Errors, but no emails sent

Hello,

I am trying to mail messages. I’m using virtually the same code I did
locally, and I got it to work (using Gmail). But not that I test it
from my hosting it won’t work. Everything is setup properly. I can
even login with Telnet and send mail from the same username.

Rails won’t even give me an error. It acts as if it sends. But I get
no mail. And it’s not in spam.

I’ve searched through everywhere and can’t find an answer =/
Here’s my code:

config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:tls => true,
:address => “mail..com",
:port => 587,
:domain => "
.com”,
:authentication => :login,
:user_name => “[email protected].com",
:password => "
”,
}

In your ROOT/config/environements/development.rb or other approriate .rb
file put this line :

config.action_mailer.raise_delivery_errors = true

you should see errors in your log files post this is done, that should
give
you a better idea as to what’s going wrong. It could be as simple as
wrong
username / password or something a little more complex. Try it.

On Tue, Apr 27, 2010 at 06:36, Brent [email protected] wrote:

I’ve searched through everywhere and can’t find an answer =/
:user_name => “[email protected]****.com”,
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.

Thanks & Regards,
Dhruva S…

I have that in there, but still no errors. This is my log:

Processing PagesController#say_hello (for _______ at 2010-04-26
18:00:48) [POST]
Parameters: {“action”=>“say_hello”, “authenticity_token”=>“6Shi6Wa/
6dYjA1UJNPx74SVLofVmD5LEhTvZ9rJoeNY=”,
“contact”=>{“name”=>“weeeeeeeeeeeee”, “content”=>“rr”,
“email”=>"@.com"}, “addsuggestion”=>“Say hello”,
“controller”=>“pages”}
Sent mail to [email protected]
Sent mail to @___.com
Redirected to http://testapp.
.com/contact/#thank-you
Completed in 190ms (DB: 2) | 302 Found [http://testapp.____.com/pages/
say_hello]

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