Bontina Chen
2007-Mar-13 09:58 UTC
Net::SMTPFatalError 555 5.5.2 Syntax error a8sm19427994poa
Hi, I''ve sent e-mails with action mailer in other controllers. Now I''m repeating the same trick to send emails. I have def bt_notify( bt ) @recipients = bt.product.user @body["product"]=bt.product @body["bt"]=bt @from = "xxxx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" @subject = "blahblah" end in my mailer.rb and Mailer.deliver_bt_notify(@bt) in the controller finally the bt_notify.rhtml <%=@product.title%> <a href="http://xxx/bt/show/<%=@bt.id%>">here</a> By PickIt And when mailer.deliver_bt_notify is executed, it got the error as title. Anyone knows what''s wrong? THanks Abon -- 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 -~----------~----~----~----~------~----~------~--~---