lib/vmail/reply_templating.rb in vmail-2.8.1 vs lib/vmail/reply_templating.rb in vmail-2.8.2
- old
+ new
@@ -25,10 +25,11 @@
reply_body = reply_quote_header +
( current_message.plaintext.split(/^-+$/,2)[1].strip.gsub(/^(?=>)/, ">").gsub(/^(?!>)/, "> ") )
{
'references' => current_message.message_id,
- 'from' => "#@name <#@username>",
+ # set 'from' to user-specified value
+ 'from' => "#@name <#@from>",
'to' => reply_recipient,
'cc' => reply_cc,
'bcc' => @always_bcc,
'subject' => reply_subject,
'body' => reply_body