vmail 0.3.3 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/vmail/imap_client.rb +1 -1
- data/lib/vmail/version.rb +1 -1
- metadata +2 -2
data/lib/vmail/imap_client.rb
CHANGED
@@ -400,7 +400,7 @@ EOF
|
|
400
400
|
end
|
401
401
|
cc = replyall ? cc : nil
|
402
402
|
date = headers['date'].is_a?(String) ? Time.parse(headers['date']) : headers['date']
|
403
|
-
quote_header = "On #{date.strftime('%a, %b %d, %Y at %I:%M %p')}, #{
|
403
|
+
quote_header = "On #{date.strftime('%a, %b %d, %Y at %I:%M %p')}, #{address_to_string(envelope.from[0])} wrote:\n\n"
|
404
404
|
body = quote_header + formatter.process_body.gsub(/^(?=>)/, ">").gsub(/^(?!>)/, "> ")
|
405
405
|
reply_headers = { 'from' => "#@name <#@username>", 'to' => recipient, 'cc' => cc, 'subject' => subject}
|
406
406
|
format_headers(reply_headers) + "\n\n\n" + body + signature
|
data/lib/vmail/version.rb
CHANGED