问题描述
我有此代码:
blat -to [email protected] -server -f [email protected] -subject "subject" -body "body" -attach DATA.log
它使用blat发送电子邮件,但出现错误:
It uses blat to send a email but it gives the error:
有人知道我在做什么错吗?谢谢.
Does any one know what I'm doing wrong? Thanks.
推荐答案
尝试这样:
服务器在此处设置为GMX.您必须为您的提供商设置它.
The server is setted here for GMX. You have to set it for your 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 your E-mail" -pw "Password of your E-mail"
http://www.blat.net/syntax/syntax.html
这是最常见的SMTP和POP服务器列表:
And here a list of the most commons SMTP and POP Servers :
http://www.arclab.com/en/amlc/list-of-smtp-and-pop3-servers-mailserver-list.html
显然,您需要隧道来提供安全套接字层(SSL),以确保安全GMail.
Apparently you'll need stunnel to provide the Secure Sockets Layer (SSL) as required by GMail.
您还可以尝试为我工作的其他提供商(例如GMX).
You can also try with an another provider like GMX who worked for me.
或者您可以尝试Mailsend:
Or you can try Mailsend :
https://github.com/muquit/mailsend/
这篇关于使用BLAT发送电子邮件时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!