muquit / mailsend

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

How to Install MailSend #121

Open Champ14 opened 7 years ago

Champ14 commented 7 years ago

Hi,

Im unable to send email or do anything, i tried to run one script but it shows need to install "starttls", i saw the script and modified it like what shown below and run it:

My Code: mailsend -to MyEmail@gmail.com -from name@otherdomain.com -starttls -port "587" -auth -smtp smtp.gmail.com -sub test +cc +bc -v -user "MyEmail@gmail.com" -pass "MyPassord"

But im getting this error:

D:> mailsend -to MyEmail@gmail.com -from name@otherdomain.com SMTP server address/IP: -starttls -port "587" -auth Subject: -smtp smtp.gmail.com Error: Could not find host " -starttls -port "587" -auth" Error: Could not connect to SMTP server " -starttls -port "587" -auth" at port 25 Could not send mail

D:> -sub test +cc +bc -v '-sub' is not recognized as an internal or external command, operable program or batch file.

D:> -user "MyEmail@gmail.com" -pass "MyPassword"

Please help, thanks!

muquit commented 7 years ago

Make sure the entire command is one line. Thanks.