This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Merge pull request
#593
from mcheng89/dev
check for smtp AUTH extension
tags/v1.2.0-rc1
无闻
10 years ago
parent
87be4623cf
b9881d1e7b
commit
beb8a77fc5
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
modules/mailer/mailer.go
+ 1
- 1
modules/mailer/mailer.go
View File
@@ -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
}
Write
Preview
Loading…
Cancel
Save