最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

git send-email No SASL Mechanism Found - Stack Overflow

programmeradmin3浏览0评论

I am trying to contribute to an email-based git project that uses git send-email to send patches. I have configured my personal outlook account using XOauth2 to authenticate to my email provider, but when I run the send email command,

git send-email --annotate -1 --subject-prefix="PATCH aerc/wiki" --smtp-debug=1 --no-cc

I get the following error:

No SASL mechanism found
 at /usr/share/perl5/vendor_perl/Authen/SASL.pm line 76.
 at /usr/share/perl5/core_perl/Net/SMTP.pm line 211.

I tried installing perl-authen-sasl from the Arch package manager, but that didn't resolve the dependency.

[email protected]:~rjarry/aerc
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master
branch.wiki.remote=origin
branch.wiki.merge=refs/heads/wiki
format.subjectprefix=PATCH aerc
format.notes=true
sendemail.to=~rjarry/[email protected]
sendemail.validate=true
sendemail.smtpserver=smtp.office365
sendemail.smtpuser=name#outlook
sendemail.smtpencryption=tls
sendemail.smtpserverport=587
sendemail.smtpauth=XOAUTH2
notes.rewriteref=refs/notes/commits
notes.rewritemode=concatenate
user.name=Name
[email protected]
credential.smtp://smtp.office365:587.oauthclientid=ClIENTID
credential.smtp://smtp.office365:587.oauthclientsecret=CLIENTSECRET
credential.smtp://smtp.office365:587.oauthauthurl=.0/authorize
credential.smtp://smtp.office365:587.oauthtokenurl=.0/token
credential.smtp://smtp.office365:587.oauthscopes=.Send
credential.smtp://smtp.office365:587.oauthredirecturl=http://localhost/
发布评论

评论列表(0)

  1. 暂无评论