Aslam Syed wrote:
> Hello all,
>
> I am trying to send email and written code like this:
>
> <code>
> def matches_for_request( contact, req, matching_offers )
> recipients "#{contact}"
> from "[email protected]"
> subject "Matches found for your request"
> sent_on Time.now
>
> body[:offers] = matching_offers
> end
> </code>
>
> I also had put angled brackets in the from address like
> "<[email protected]>". However, as Chris's reply suggets I tried
> removing the angled brackets. But, this did not solve my problem. I am
> continuing to get the following error message:
>
> 555 5.5.2 Syntax error. 23sm387874pxi.9
>
> Please help.
Hi all,
I have the same issue:
Net::SMTPFatalError 555 using rails 2.3.3
under development environment
I both tried with or without angle brackets in the @from parameter,
but with no help.
Any idea?
Thanks
--
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
-~----------~----~----~----~------~----~------~--~---