git send-email No SASL Mechanism Found - Stack Overflow

admin2025-04-19  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/
转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1745041376a281561.html

最新回复(0)