This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
gitea
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
check for smtp AUTH extension
for-closed-social
mcheng89
10 years ago
parent
87be4623cf
commit
b9881d1e7b
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