muquit / mailsend

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

Unable to add "TO" using "-list_address" #124

Open seanvree opened 6 years ago

seanvree commented 6 years ago

First, great tool man. thanks a lot.

Issue:

For some reason, when I use the " -list_address " switch the email comes thru to the receiving email box (gmail) as "TO" being blank, and the addresses from mailsendlist.txt being in the BCC field instead of "TO"? When I replace "list_address with "-t myemail@gmail.com" it works fine. It's creating problems for a rule I have set up in gmail.

Script syntax:

mailsend.exe -f myemail@hotmail.com -list_address mailsendlist.txt -smtp smtp.live.com -port 587 -starttls -auth -user myemail@hotmail.com  -pass password -mime-type "text/plain" -sub "The UPS has switched to battery mode"

mailsendlist.txt:

To: myemail@gmail.com
Cc: myemail@slack.com

capturemailsent

What am I doing wrong?

seanvree commented 6 years ago

Possibly a dupe of https://github.com/muquit/mailsend/issues/92 ?