Hello,
I am using action mailer to send mails. I need to use a third party
smtp server. The third party smtp server i am using is authsmtp.
ActionMailer::Base.smtp_settings = {
:address => "mail.authsmtp.com",
:domain => "mydomain.com",
:port => 2525,
:authentication => "login",
:user_name =>
"promo-3Q2Tfjf0mexWk0Htik3J/w@public.gmane.org",
:password => "password for
promo-3Q2Tfjf0mexWk0Htik3J/w@public.gmane.org"
}
when i try to send the mail, i get authentication failed error. but if i
change the :address to mail.mydomain.com everything works fine.
I want to use authsmtp to send mail
I think i also have to authenticate the authsmtp server.I have its
username and password. Where do i have to write that.
Any idea whats going wrong.
Please help
Thank you.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
Frederick Cheung
2009-Apr-18 01:21 UTC
Re: "Authentication failed" when third party smtp server is used
On Apr 17, 5:01 pm, Ank Ag <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > when i try to send the mail, i get authentication failed error. but if i > change the :address to mail.mydomain.com everything works fine. > I want to use authsmtp to send mail > > I think i also have to authenticate the authsmtp server.I have its > username and password. Where do i have to write that.You should be using that username and password in your smtp settings. Fred> > Any idea whats going wrong. > Please help > Thank you. > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---