muquit / mailsend

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

problem withe sending to -cc #133

Open onik282 opened 6 years ago

onik282 commented 6 years ago

Hi,

I use mailsend for automatic distribution. Comand: mailsend -f $sender -to "$receiver" -cc "$copyreceiver"

sometimes the address in the -to is not correct. then the letter to the -сс also does not come. in the $copyreceiver variable, the address is correct.

muquit commented 6 years ago

Please run with -v to see if the addresses are used correctly. Thanks.

onik282 commented 6 years ago

ok, I know what address in -to not correct, but why user in -cc not receive email?

muquit commented 6 years ago

mailsend just adds Cc header with the address. It is up to the SMTP server to respect it. It works fine with SMTP servers I tested, e.g. it works fine with smtp.gmail.com. Thanks.