search for: generic_mailer

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

2006 Oct 17
3
action mailer, error Subject: Header must not be multiple
...:email => emails, :message => pages, }, :from => "yoni-A+lxSsK1Ony+XT7JhA+gdA@public.gmane.org" ) end #my email Model(mailer.rb) class Mailer < ActionMailer::Base helper ActionView::Helpers::UrlHelper def generic_mailer(options) @recipients = options[:recipients] @from = options[:from] @cc = options[:cc] || "" @bcc = options[:bcc] || "" @subject = options[:subject] || "this is my great message" @body = options[:body] || {} @headers = options[:headers] || {}...