Revision 8ddd43db
Added by Marc Dequènes over 14 years ago
- ID 8ddd43db4caffd3f9880aebe71afb8ebe7fc824a
bin/postman | ||
---|---|---|
transcript_part = mail_reply
|
||
else
|
||
mail_reply.set_content_type("multipart", "mixed", {'boundary' => TMail.new_boundary})
|
||
mail_reply.transfer_encoding = "7bit"
|
||
mail_reply.quoted_body = "This mail is in MIME format.\n"
|
||
parts = []
|
||
|
||
p = CyborgHood::Mail.new
|
||
p = CyborgHood::Mail.blank
|
||
transcript_part = p
|
||
mail_reply.parts << p
|
||
|
||
reply_attachments.each do |attachment|
|
||
p = CyborgHood::Mail.new
|
||
p = CyborgHood::Mail.blank
|
||
p.set_content_type("text", "plain", {'charset' => "utf-8"})
|
||
p.set_disposition("attachment", {'filename' => attachment.filename})
|
||
p.quoted_printable_body = attachment.content
|
Also available in: Unified diff
[fix] ensure Postman multipart replies are sent without custom headers in the 'multipart/mixed' part, and add a quoted_body message