I am having trouble sending email w/ attachments as described in the
following how-to article:
http://wiki.rubyonrails.com/rails/show/HowToSendEmailsWithActionMailer
I can send basic emails successfully but the discussion regarding
attachments is giving me trouble.
mail.set_content_type(''multipart'', blah blah)
mail.parts << my_attachment
Questions:
1) Am I setting the content type for the attachment I am about to append?
2) What is "my_attachment" supposed to be, a file object?
Ultimately the script is failing at this portion of code with
everything I have tried so far:
Mailer::deliver(mail)
With the following error message:
undefined method `accept'' for <File:/path/to/file>
Any help would be much appreciated.