Hi Chris,

the workaround solved the problem, thank you!

Is there another way to display a name with the email address without
using angle brackets ?

Thanks!

On Jul 31, 2:26 pm, Chris Schumann <[email protected]>
wrote:
> 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 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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to