gogs: Unable to send e-mail on issue notification

Gogs: 0.9.83.0816 Git: 2.9.2 DB: PostgreSQL OS: FreeBSD 10.1-RELEASE-p37

After upgrading to latest release, gomail fails to send e-mail to the recipients. It seems that the actual email address is missing, according to the log

2016/08/19 12:55:43 [T] New e-mail sending request [xx@xxxx.xx xx@xxxx.xx xx@xxxx.xx xxx@xxxx.xx xxx@xxxx.xx]: Subject: [lommylocator-android] Low battery (#8), issue comment

2016/08/19 12:55:43 [...les/mailer/mailer.go:201 processMailQueue()] [E] Fail to send emails [xx@xxxx.xx xx@xxxx.xx xx@xxxx.xx xxx@xxx.xx xxx@xxx.xx]: Subject: [my-repository] Low battery (#8), issue comment - gomail: could not send email 1: gomail: invalid address "\"Leo Nielsen\" <>": mail: invalid string

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 33 (17 by maintainers)

Most upvoted comments

Wouldn’t it be an option to parse [mailer] FROM for an e-mail address instead?