Re: 501 Bad Recipient Address Syntax

Mendicant Zero x
Fri, 30 Nov 2007 05:47:25 -0000

Mendicant Zero x wrote:
> Hi,
>
> I''m having a problem with sending email with ActionMailer.
>
> My mailer looks something like this:
>
> class PNGMailer < ActionMailer::Base
>
>   def forgotten_password_email (password_reset, user)
>     recipients = user.email
>     from = "my-BhBwXcZClc6A8/oj66qlCw@public.gmane.org"
>     subject = "Password Change Request"
>
>     body :first_name => user.first_name, :last_name => user.last_name
>   end
>
> end

Sorry to bother, but it appears my problem has to do with needing it to
be @recipients, not just recipients.
--
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
-~----------~----~----~----~------~----~------~--~---