Found the solutions:

1) For the error where the email body was not received by the recipient, 
it was because of the naming of the view file has the wrong extension. I 
had to changed it to "email_friend.erb", instead of 
"email_friend.html.erb.

2) As for the corrupted image file, it was because it was not opened as 
a binary file. I learn of this from:

http://www.ruby-forum.com/topic/85591#156951

-- 
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@googlegroups.com
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