muquit / mailsend

A program to send mail via SMTP from command line
Other
295 stars 68 forks source link

an attachment Content-ID and message body content-type #30

Closed muquit closed 10 years ago

muquit commented 10 years ago

From skalogry...@gmail.com on November 04, 2013 13:13:33

In order to support the HTML with embedded images emails, it is necessary to pass a Content-ID for attachments. Also, message body has to be "multipart/related" (rather than multipart/mixed) or an email client (outlook or thunderbird) would show the body of the email split.

The proposed patch allows:

the switch name is pretty long, so feel free to change it to whatever you find suitable.

Also the issue with not initializing attachment_name is fixed by the patch.

Attachment: patch.zip

Original issue: http://code.google.com/p/mailsend/issues/detail?id=30

muquit commented 10 years ago

From muq...@gmail.com on November 04, 2013 17:08:16

Status: Accepted

muquit commented 10 years ago

From muq...@gmail.com on November 06, 2013 14:56:45

Patch is applied. test directory has a HTML file and test image to demonstrate the functionality of embedding an image in the HTML file while sending the mail.

muquit commented 10 years ago

From muq...@gmail.com on December 06, 2013 21:39:27

Status: Done