Re: [Rails] Re: how to avoid (Net::SMTPFatalError) "555 5.5.2 Syntax error

2010-06-17 Thread kannav rajeev
use action mailer optional tls http://douglasfshearer.com/blog/gmail-smtp-with-ruby-on-rails-and-actionmailer On Thu, Jun 17, 2010 at 2:45 PM, Nimesh Nikum wrote: > Try to do like this: > from "Monaqasat " > headers "return-path" => 'nore...@monaqasat.com' > > It worked for me !!! > > Than

[Rails] Re: how to avoid (Net::SMTPFatalError) "555 5.5.2 Syntax error

2010-06-17 Thread Nimesh Nikum
Try to do like this: from "Monaqasat " headers "return-path" => 'nore...@monaqasat.com' It worked for me !!! Thanks, Nimesh Nikum Karim Helal wrote: > Any updates on how we can send a @from with a name before the email > address? > > I want to be able to send emails using the nore...@mona

[Rails] Re: how to avoid (Net::SMTPFatalError) "555 5.5.2 Syntax error

2009-09-18 Thread Bruno Brunagh
Aslam Syed wrote: > Hello all, > > I am trying to send email and written code like this: > > > def matches_for_request( contact, req, matching_offers ) > recipients "#{contact}" > from"gaadish...@mapunity.in" > subject "Matches found for your request" > sent_on

[Rails] Re: how to avoid (Net::SMTPFatalError) "555 5.5.2 Syntax error

2009-09-01 Thread Aslam Syed
Hello all, I am trying to send email and written code like this: def matches_for_request( contact, req, matching_offers ) recipients "#{contact}" from"gaadish...@mapunity.in" subject "Matches found for your request" sent_on Time.now body[:offers] = matchin

[Rails] Re: how to avoid (Net::SMTPFatalError) "555 5.5.2 Syntax error

2009-08-28 Thread Shan Huang
Thank you so much, I had the same problem and it worked. On Jul 31, 2:26 pm, Chris Schumann wrote: > Santosh Turamari wrote: > >     @from = "#{sender}" > > 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 i

[Rails] Re: how to avoid (Net::SMTPFatalError) "555 5.5.2 Syntax error

2009-08-24 Thread Chris Schumann
Francesco Canessa wrote: > 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 Display? Sure. Do anything you want. But as of Rails 2

[Rails] Re: how to avoid (Net::SMTPFatalError) "555 5.5.2 Syntax error

2009-08-24 Thread makevoid
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 wrote: > Santosh Turamari wrote: > >     @from = "#{sender}" > > If I submit an email id, It is givin

[Rails] Re: how to avoid (Net::SMTPFatalError) "555 5.5.2 Syntax error

2009-07-31 Thread Chris Schumann
Santosh Turamari wrote: > @from = "#{sender}" > 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 can