linux - git send-mail 发送邮件失败

标签 linux git email mailing-list

我正在尝试使用 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/

相关文章:

Gitolite 推送错误

混帐推送 : permission denied (public key)

c# - 发送保存在磁盘上的 eml 文件

ruby - 如何从 Ruby 程序发送邮件?

linux - 在 CoreOS 主机之间移动 docker 数据卷容器

linux - awk 读取整个文件

php - UTF-8贯穿始终

linux - 使用 ssh 在本地和远程服务器之间传输文件而无需密码验证

windows - 如何在 Windows GUI 中执行 rebase --interactive

javascript - mailto : supported? 有多好