Displaying 1 result from an estimated 1 matches for "_recipient_id".
Did you mean:
recipient_id
2006 May 05
1
ActionMailer with attachments, body is blank
...nt" (the variable
holding the text of my mailer). However, if @ma is empty, it sees
@mycontent just fine. Suggestions?
Here is my mailer class:
class MarketingMailer < ActionMailer::Base
def standard_mailer
(_firstname,recipient,_subject,from_name,from_email,_content,_mailer_id,
_recipient_id,sent_at = 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''] = &...