Displaying 1 result from an estimated 1 matches for "marketingmailer".
2006 May 05
1
ActionMailer with attachments, body is blank
...39;'s still happening. When I look at my development.log file,
it''s saying that it doesn''t recognize "@mycontent" (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...