No notification emails


#1

Hi!

I have Gogs deployed with the most recent docker image.

I have the following problem: Gogs doesn’t seem to send notification emails. If I test the send function in the settings everything works. I set the logging to Trace but e.g. after I mention someone in a comment no notification emails are sent and nothing regarding email appears in the log, only $timestamp [T] Comment created: $date.
Email notifications are of course enabled in the config file.
How can I debug this further?


#2

Did you watch the repository?


#3

Yes I watch the repo because I created it.


#4

https://github.com/gogits/gogs/issues/3760
I think i have a working patch. That will at least try to send out the mail (but may fail due to a different bug).

My next question will be how to get notification to watchers when the repository receives a push, like traditional commit messages.


#5

Hi.
I have exactly the same problem, there are no notifications in issues.
There are no messages, at the commit
Test letters from the server pass.
in the logs - silence

Gogs Version: 0.11.55.0609

[service]
REGISTER_EMAIL_CONFIRM = false
; Mail notification
ENABLE_NOTIFY_MAIL = true
DISABLE_REGISTRATION = true
ENABLE_CAPTCHA = false
REQUIRE_SIGNIN_VIEW = true

[mailer]
ENABLED = true
SEND_BUFFER_LEN = 100
; Prefix prepended to the subject line
SUBJECT_PREFIX = [%(APP_NAME)s]
HOST = mail.myorg.net:25
DISABLE_HELO = false
HELO_HOSTNAME =
SKIP_VERIFY = true
USE_CERTIFICATE = false
LOGIN = true
FROM = “Git” gogs@myorg.net
//it is not error. test mail sending good
;USER =
;PASSWD =
; Use text/plain as format of content
USE_PLAIN_TEXT = false
;ENABLE_HTML_ALTERNATIVE = true


#6

The person wants to receive notification needs to watch the repository, comment on issue or mentioned by issue.