鏡像自
https://github.com/go-gitea/gitea
已同步 2025-12-07 13:28:25 +00:00
check for smtp AUTH extension
此提交包含在:
+1
-1
@@ -82,7 +82,7 @@ func sendMail(hostAddressWithPort string, auth smtp.Auth, from string, recipient
|
||||
return err
|
||||
}
|
||||
|
||||
if auth != nil {
|
||||
if ok, _ := client.Extension("AUTH"); ok && auth != nil {
|
||||
if err = client.Auth(auth); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
新增問題並參考
封鎖使用者