Trying to debug a mail problem. We''re seeing the error "501 Bad address syntax" when trying to send mail. Our mail is hosted by Dreamhost and our config is as follows: -------------------------------------------------------- ACTIVATION_EMAIL_ADDRESS = "activations-01W2nyILNPY4Q++5jOxPmw@public.gmane.org" ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.smtp_settings = { :address => "mail.foo.domain.com", :port => 587, :domain => "foo.domain.com", :user_name => ACTIVATION_EMAIL_ADDRESS, :password => "password", :authentication => :login } ActionMailer::Base.perform_deliveries = true ActionMailer::Base.raise_delivery_errors = true ActionMailer::Base.default_charset = "utf-8" --------------------------------------------------------- FYI - if I change to the password to something incorrect we get the error: 535 Error: authentication failed. Thanks for any help. -- 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 -~----------~----~----~----~------~----~------~--~---
Hi Will, I am new to ROR and facing the same problem. I have also used the same kind of smtp settings.. Please let me know if you have found the solution for this issue. Email Address - nehakjain2005-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Thanks In advance. Neha Will Merydith wrote:> Trying to debug a mail problem. > > We''re seeing the error "501 Bad address syntax" when trying to send > mail. Our mail is hosted by Dreamhost and our config is as follows: > > -------------------------------------------------------- > > ACTIVATION_EMAIL_ADDRESS = "activations-01W2nyILNPY4Q++5jOxPmw@public.gmane.org" > > ActionMailer::Base.delivery_method = :smtp > ActionMailer::Base.smtp_settings = { > :address => "mail.foo.domain.com", > :port => 587, > :domain => "foo.domain.com", > :user_name => ACTIVATION_EMAIL_ADDRESS, > :password => "password", > :authentication => :login > } > > ActionMailer::Base.perform_deliveries = true > ActionMailer::Base.raise_delivery_errors = true > ActionMailer::Base.default_charset = "utf-8" > --------------------------------------------------------- > > FYI - if I change to the password to something incorrect we get the > error: 535 Error: authentication failed. > > Thanks for any help.-- 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
2007-Oct-27 09:51 UTC
Re: 501 Bad address syntax:: when using Action Mailer
You haven''t shown us the interesting bit: when you actually try and send the email Fred On 27 Oct 2007, at 10:45, Neha Jain wrote:> > Hi Will, > > I am new to ROR and facing the same problem. I have also used the same > kind of smtp settings.. > > Please let me know if you have found the solution for this issue. > > Email Address - nehakjain2005-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > > Thanks In advance. > > Neha > > Will Merydith wrote: >> Trying to debug a mail problem. >> >> We''re seeing the error "501 Bad address syntax" when trying to send >> mail. Our mail is hosted by Dreamhost and our config is as follows: >> >> -------------------------------------------------------- >> >> ACTIVATION_EMAIL_ADDRESS = "activations-01W2nyILNPY4Q++5jOxPmw@public.gmane.org" >> >> ActionMailer::Base.delivery_method = :smtp >> ActionMailer::Base.smtp_settings = { >> :address => "mail.foo.domain.com", >> :port => 587, >> :domain => "foo.domain.com", >> :user_name => ACTIVATION_EMAIL_ADDRESS, >> :password => "password", >> :authentication => :login >> } >> >> ActionMailer::Base.perform_deliveries = true >> ActionMailer::Base.raise_delivery_errors = true >> ActionMailer::Base.default_charset = "utf-8" >> --------------------------------------------------------- >> >> FYI - if I change to the password to something incorrect we get the >> error: 535 Error: authentication failed. >> >> Thanks for any help. > > -- > 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 -~----------~----~----~----~------~----~------~--~---