使用BLAT发送电子邮件时出错 [英] Error in sending an email with BLAT

查看:355
本文介绍了使用BLAT发送电子邮件时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有此代码:

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

它使用blat发送电子邮件,但出现错误:

It uses blat to send a email but it gives the error:

提供的参数不足

Not enough arguments supplied

有人知道我在做什么错吗?谢谢.

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发送电子邮件时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆