How to fix problem with email notifycations?


#1

Hello!
Gogs version 0.11.79.1211, database postrges SQL, Gogs run in Docker container.

I,m enable in app.ini email notification, and write smtp parametrs for this work.
If new user is registering - emails notification is correctly working, but if existing user pushing some commits or doing other actions - emails notifications does not work. Why & how fix this problem?

fragment from my app.ini


[mailer]
ENABLED = true
SUBJECT_PREFIX = [MYCOMPANY-GIT]_
HOST = smtp.hoster:2525
HELO_HOSTNAME = git.domain
SKIP_VERIFY = true
FROM = “Service Git Account” system@mail
USER = system-mail
PASSWD = FG3k0fHdh%

[service]
REGISTER_EMAIL_CONFIRM = true
ENABLE_NOTIFY_MAIL = true
DISABLE_REGISTRATION = false
ENABLE_CAPTCHA = true
REQUIRE_SIGNIN_VIEW = true



#2

email and host changed from real , because this forum dont allow post over 2 links


#3

Hi, if you have searched GitHub, it is a feature currently under request :smiley:


#4

OK)
So what do this options in app.ini?
[service]
REGISTER_EMAIL_CONFIRM = true
ENABLE_NOTIFY_MAIL = true


#5

I think only issue/pr updates, at the moment.