我正在尝试使用 git send-email 将补丁发送到 linux-mailing list 但失败并出现以下错误
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.
以下是我的smtp设置
[sendemail]
smtpEncryption=tls
smtpServer=smtp.gmail.com
smtpUser=xyz@gmail.com
smtpServerPort = 587
我错过了什么吗?请帮忙!!谢谢
最佳答案
您是否尝试添加 --smtp-ssl-cert-path ''
?这将禁用 ssl 认证。
关于linux - git send-mail 发送邮件失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34455067/