search for: pfcsintranet

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

2006 May 05
1
ActionMailer with attachments, body is blank
...= Time.now) @mailer = Mailer.find(_mailer_id) @ma = @mailer.mailerattachments @subject = _subject @recipients = recipient @from = from_name + " <" + from_email + ">" @sent_on = sent_at @headers[''X-Mailer''] = ''PFCSIntranet'' @headers[''MIME-Version''] = ''1.0'' @body = {:mycontent => _content, :firstname => _firstname, :recipient_id => _recipient_id, :mailer_id => _mailer_id } @ma.each do |ma| attachment :body => File.read("#{ma.attac...