Support de l'authentification SMTP dans la configuration GOGS

This commit is contained in:
2017-05-30 15:02:09 +02:00
parent af9d3a6e46
commit 40547fc477
2 changed files with 15 additions and 2 deletions

View File

@ -141,9 +141,11 @@ FROM = %%system_mail_from
%else
FROM = %%gogs_mail_from
%end if
%if %%getVar('gogs_mail_auth','non') == 'oui'
; Mailer user name and password
; USER =
; PASSWD =
USER = %%gogs_email_user
PASSWD = %%gogs_email_password
%end if
%else
[mailer]
ENABLED = false