Wednesday, 15 February 2012

batch file - Error in sending an email with BLAT -



batch file - Error in sending an email with BLAT -

i have code:

blat -to test@test.com -server -f test@test.com -subject "subject" -body "body" -attach data.log

it uses blat send email gives error:

not plenty arguments supplied

does 1 know i'm doing wrong? thanks.

try :

the server setted here gmx. have set provider.

blat.exe -server smtp.gmx.com -f your_e-mail_address -to destination_e-mail_adress -s "cc text" -body "body text" -u "login of e-mail" -pw "password of e-mail"

http://www.blat.net/syntax/syntax.html

and here list of commons smtp , pop servers :

http://www.arclab.com/en/amlc/list-of-smtp-and-pop3-servers-mailserver-list.html

edit :

apparently you'll need stunnel provide secure sockets layer (ssl) required gmail.

you can seek provider gmx worked me.

or can seek mailsend :

https://github.com/muquit/mailsend/

email batch-file blat

No comments:

Post a Comment