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
<wejrowski-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> 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 => "hello@****.com",
> :password => "****",
> }
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
--
Thanks & Regards,
Dhruva Sagar.
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.