search for: deliver_weekly_report

Displaying 1 result from an estimated 1 matches for "deliver_weekly_report".

2009 Oct 28
2
How to send a html email with attachment
...s: just a erb file. and the way I sent the mail is like below: mail = MailReport.create_weekly_report mail.set_content_type("text/html") MailReport.deliver(mail) If I sent it like that, I can not get the attachment insted of getting some messy code. I tried sent it like MailReport.deliver_weekly_report. If so, the email will not be a html format email. So what should I do, if I wanna send a html email with attachment.