Displaying 1 result from an estimated 1 matches for "reply_from_address".
2006 Jul 11
0
ActiveMailer HTML + Plain Text + Attachment?
...r creating the message.
Is this so? Does anyone have a working example?
Here is one of many contortions I have tried:
<pre>def answer(message, representative, sent_at = Time.now)
@subject = message.reply_subject
@recipients = message.sender.address
@from = message.team.reply_from_address
@sent_on = sent_at
@content_type = "multipart/alternative"
part "text/html" do |p|
p.body = render_message("answer_as_html", :message => message,
:signature => representative.signature)
end
part "text/plain" do |p|...