Dominic, If you are still having trouble with this...
instead of calling deliver_XX_mail (whatever your method is called)
call create_XX_mail... it returns a TMail object (
http://i.loveruby.net/en/man/tmail/index.html )...
mail = Mailer::create_my_mail(params)
after that, you can set the mime type and append attachments:
mail.set_content_type(''multipart'', blah blah)
mail.parts << my_attachment
then call
Mailer::deliver(mail)
where Mailer is the name of your class that extends ActionMailer::base
On 11/02/2005, at 4:19 PM, Dominic Sisneros wrote:
> Is it possible to add an attachment and send it with ActionMailer?
>
>
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>