I get this error when trying to use the actionmailer gem: Net::SMTPSyntaxError in EmailerController#sendmail 501 <>: missing or malformed local part Application Trace | Framework Trace | Full Trace /usr/lib/ruby/1.8/net/smtp.rb:680:in `check_response'' /usr/lib/ruby/1.8/net/smtp.rb:653:in `getok'' /usr/lib/ruby/1.8/net/smtp.rb:635:in `rcptto'' /usr/lib/ruby/1.8/net/smtp.rb:546:in `send0'' /usr/lib/ruby/1.8/net/smtp.rb:545:in `each'' /usr/lib/ruby/1.8/net/smtp.rb:545:in `send0'' /usr/lib/ruby/1.8/net/smtp.rb:472:in `sendmail'' vendor/rails/actionmailer/lib/action_mailer/base.rb:629:in `perform_delivery_smtp'' /usr/lib/ruby/1.8/net/smtp.rb:379:in `start'' /usr/lib/ruby/1.8/net/smtp.rb:316:in `start'' vendor/rails/actionmailer/lib/action_mailer/base.rb:627:in `perform_delivery_smtp'' vendor/rails/actionmailer/lib/action_mailer/base.rb:508:in `__send__'' vendor/rails/actionmailer/lib/action_mailer/base.rb:508:in `deliver!'' vendor/rails/actionmailer/lib/action_mailer/base.rb:383:in `method_missing'' app/controllers/emailer_controller.rb:6:in `sendmail'' What am I doing wrong? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On Apr 9, 5:17 pm, semi <seminole10...-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote:> I get this error when trying to use the actionmailer gem: > > Net::SMTPSyntaxError in EmailerController#sendmail > > 501 <>: missing or malformed local part >http://rails.lighthouseapp.com/projects/8994/tickets/1842 ? Fred> Application Trace | Framework Trace | Full Trace > > /usr/lib/ruby/1.8/net/smtp.rb:680:in `check_response'' > /usr/lib/ruby/1.8/net/smtp.rb:653:in `getok'' > /usr/lib/ruby/1.8/net/smtp.rb:635:in `rcptto'' > /usr/lib/ruby/1.8/net/smtp.rb:546:in `send0'' > /usr/lib/ruby/1.8/net/smtp.rb:545:in `each'' > /usr/lib/ruby/1.8/net/smtp.rb:545:in `send0'' > /usr/lib/ruby/1.8/net/smtp.rb:472:in `sendmail'' > vendor/rails/actionmailer/lib/action_mailer/base.rb:629:in > `perform_delivery_smtp'' > /usr/lib/ruby/1.8/net/smtp.rb:379:in `start'' > /usr/lib/ruby/1.8/net/smtp.rb:316:in `start'' > vendor/rails/actionmailer/lib/action_mailer/base.rb:627:in > `perform_delivery_smtp'' > vendor/rails/actionmailer/lib/action_mailer/base.rb:508:in `__send__'' > vendor/rails/actionmailer/lib/action_mailer/base.rb:508:in `deliver!'' > vendor/rails/actionmailer/lib/action_mailer/base.rb:383:in > `method_missing'' > app/controllers/emailer_controller.rb:6:in `sendmail'' > > What am I doing wrong?--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
seminole10003-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2009-Apr-10 15:00 UTC
Re: 501 <>: missing or malformed local part
Thanks. My problem was the wrong email format was being entered to the recipients I was sending to. I think many of these errors are due to the fact that in the controller they do not get the correct values from their email form. On Apr 9, 5:25 pm, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Apr 9, 5:17 pm, semi <seminole10...-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote: > > > I get this error when trying to use the actionmailer gem: > > > Net::SMTPSyntaxError in EmailerController#sendmail > > >501<>: missing or malformed local part > > http://rails.lighthouseapp.com/projects/8994/tickets/1842? > > Fred > > > Application Trace | Framework Trace | Full Trace > > > /usr/lib/ruby/1.8/net/smtp.rb:680:in `check_response'' > > /usr/lib/ruby/1.8/net/smtp.rb:653:in `getok'' > > /usr/lib/ruby/1.8/net/smtp.rb:635:in `rcptto'' > > /usr/lib/ruby/1.8/net/smtp.rb:546:in `send0'' > > /usr/lib/ruby/1.8/net/smtp.rb:545:in `each'' > > /usr/lib/ruby/1.8/net/smtp.rb:545:in `send0'' > > /usr/lib/ruby/1.8/net/smtp.rb:472:in `sendmail'' > > vendor/rails/actionmailer/lib/action_mailer/base.rb:629:in > > `perform_delivery_smtp'' > > /usr/lib/ruby/1.8/net/smtp.rb:379:in `start'' > > /usr/lib/ruby/1.8/net/smtp.rb:316:in `start'' > > vendor/rails/actionmailer/lib/action_mailer/base.rb:627:in > > `perform_delivery_smtp'' > > vendor/rails/actionmailer/lib/action_mailer/base.rb:508:in `__send__'' > > vendor/rails/actionmailer/lib/action_mailer/base.rb:508:in `deliver!'' > > vendor/rails/actionmailer/lib/action_mailer/base.rb:383:in > > `method_missing'' > > app/controllers/emailer_controller.rb:6:in `sendmail'' > > > What am I doing wrong?--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---