muquit / mailsend

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

--msgbody option #29

Open muquit opened 10 years ago

muquit commented 10 years ago

From nrem...@gmail.com on October 29, 2013 11:52:09

Please discard previous message... wrong subject... sorry.

I rememer that in v.1.15 and 1.16 there isa a --msgbody option that is commented (doesn't work "out of the box").

This option permit to attach a text file as a body of the message.

I reenable this option and compile the program and it just work with Thunderbird and Outlook.

It is possible to reenable this option by default?

Thank you

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

muquit commented 10 years ago

From skalogry...@gmail.com on November 04, 2013 04:56:21

I've been using attachming as "included" for the message body. Seems to be working just fine for Thunderbird and Outlook. However, the attachment I've been using is text/html mime.

muquit commented 10 years ago

From muq...@gmail.com on November 10, 2013 16:30:06

I am reluctant to bring that option back as MIME option works for most mail readers. Let me think about it.

muquit commented 10 years ago

From nrem...@gmail.com on November 11, 2013 00:38:43

I think that to have a specific option to add body mail it's better and more understandable (IMHO). Thank you.

muquit commented 10 years ago

From muq...@gmail.com on December 10, 2013 15:12:17

The flag -msg-body will include the file as body of the mail. If this option is used, no other attachments or one line message can be added. The file can not be encoded but character set can be specified. Example:

mailsend -cs "utf-8" -mime-type "text/html" -msg-body "file.html" mailsend -cs "us-ascii" -mime-type "text/plain" -msg-body "file.txt"

Status: Accepted

muquit commented 10 years ago

From muq...@gmail.com on December 10, 2013 15:13:53

Issue 28 has been merged into this issue.