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:
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.
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.