Project

General

Profile

« Previous | Next » 

Revision 56947466

Added by Marc Dequènes over 14 years ago

  • ID 569474668768d147b8c52665bd9113b2c2e7f83d

[evol] added to_multipart! method to remove such low level manipulations from postman

View differences:

bin/postman
if reply_attachments.empty?
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 = []
mail_reply.to_multipart!
p = CyborgHood::Mail.blank
transcript_part = p

Also available in: Unified diff