I have seen this error as well, and found the problem to be the email 
address having a leading 'space'.

For example, I was passing an email address like this: " Bob Smith 
<[email protected]>"  and was getting the error.

As soon as I stripped the space away with '.strip' before I assigned it 
to 'recipients', the error went away.

Not sure which part of the code (gem or ruby) was choking on the 
whitespace. I didn't investigate further. I am using Action::Mailer 
2.2.2.

-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to