[英]GIT send-mail failing to send mail
I am trying send patch to linux-mailing list using git send-email but it is failing with following error 我正在尝试使用git send-email将补丁发送到linux-mailing列表,但它失败并出现以下错误
Unable to initialize SMTP properly.
Check config and use --smtp-debug.
VALUES: server=smtp.gmail.com
encryption=tls
maildomain=xyz.domain.name at /usr/libexec/git-core/git-send-email line 1040.
following are my smtp setting 以下是我的smtp设置
[sendemail]
smtpEncryption=tls
smtpServer=smtp.gmail.com
smtpUser=xyz@gmail.com
smtpServerPort = 587
Am I missing anything? 我错过了什么吗? Please Help!!
请帮忙!! Thanks
谢谢
You have missed the password configuration 您错过了密码配置
git config --global sendemail.smtppass <password>
Since you did not supply any password you cannot send the mail. 由于您没有提供任何密码,因此无法发送邮件。
Did you tried to add --smtp-ssl-cert-path ''
? 您是否尝试添加
--smtp-ssl-cert-path ''
? This disables ssl certification. 这会禁用ssl认证。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.