gogs icon indicating copy to clipboard operation
gogs copied to clipboard

0.13.0 send email got 501 error

Open 4ft35t opened this issue 2 years ago • 2 comments

Gogs version

0.13.0

Git version

  • Server:
  • Client:

Operating system

docker

Database

SQLite 3

Describe the bug

/admin/config - "Send test email", got 501 error

To reproduce

  • install & config email
  • editor app.ini, change [mailer] to [email]
  • send test mail

Expected behavior

send mail ok

Additional context

for 0.12.11, send mail works fine

[mailer]
ENABLED = true
HOST    = smtp.exmail.qq.com:465
FROM    = [email protected]
USER    = [email protected]
PASSWD  = password

for 0.13.0, just chang [mailer] to [email], send mail not work, got 501 error

[email]
ENABLED = true
HOST    = smtp.exmail.qq.com:465
FROM    = [email protected]
USER    = [email protected]
PASSWD  = password

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

4ft35t avatar Mar 30 '23 17:03 4ft35t

Instead of PASSWD =, use PASSWORD =

Bullz3y3 avatar May 05 '23 09:05 Bullz3y3

This bug is present with new installation of 0.13.0 also, if you enter email settings on the first time setup page of gogs, it creates custom config file with [mailer] and PASSWD instead of [email] and PASSWORD

koolkunz avatar Oct 18 '23 11:10 koolkunz