muquit / mailsend

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

cs option not working for subject if executed in batch #119

Open ChrisIsBack123 opened 6 years ago

ChrisIsBack123 commented 6 years ago

If i send an e-mail with mailsend out of a batch file the -cs option isn't working for the subject line. But if i type the same comand in a cmd windows it works fine.

Here is the comand i use: C:\skripte_mail\mailsend.exe -cs "iso-8859-1" -smtp [servername] -f [from-adress] -t [to adress] -sub "Festplattenprüfung alle Windows/Linuxserver" -mime-type "text/plain" -msg-body "C:\skripte_mail\Festplattenpruefung\hdd-stat.txt" -starttls -user [smtpuser] -pass [password]

muquit commented 6 years ago

Unfortunately It is a known issue in Windows. It is mentioned under Known Issues (list# 3). Thanks.