search for: two_words_connector

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

2009 Oct 28
2
How to send a html email with attachment
Hi guys: I wanna send a html format email with a attachment. What I do is like: model: def weekly_report address = WeeklyReportEmail.find_all_by_validate(true).collect(&:address).to_sentence(:last_word_connector => '','', :two_words_connector => '','') @recipients = address @from = "Chronos weekly report <chronos-4ZJPdxLVsvDgESyFIoI21jfzStP7pjZN0E9HWUfgJXw@public.gmane.org>" @subject = "[Chronos] Weekly report" @sent_on = Time.zone.now @body[:projects] = Project.all a...