Santosh Turamari wrote:
> @from = "#{sender}<[email protected]>"
> If I submit an email id, It is giving error as
> (Net::SMTPFatalError) "555 5.5.2 Syntax error. d29sm1994943and.38\n"
The from line is the problem. The Net::SMTP library was recently changed
so it adds angle brackets to your sender, so you cannot have any in your
string. Try this as a workaround:
@from = "[email protected]"
--
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---