muquit / mailsend-go

mailsend-go is a multi-platform command line tool to send mail via SMTP protocol
Other
168 stars 16 forks source link

Attachment name seems ignored #26

Closed mleone87 closed 3 years ago

mleone87 commented 4 years ago

Hi I'm trying to send a mail with an attachment but if I specify the name for the attachment, it gets ignored.

I'm using the mailsend-go_v1.0.8_windows-64bit.zip

The command line part is .... attach -name "file.csv" -file LICENSE.txt

The mail that arrive is:

... Content-Disposition: attachment; filename="LICENSE.txt" Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=utf-8; name="LICENSE.txt" ....

muquit commented 4 years ago

oops! looks like I forgot to implement -name option for attachments. Will be in the next release. Thanks.