Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.13.0 send email got 501 error #7411

Open
1 task done
4ft35t opened this issue Mar 30, 2023 · 2 comments
Open
1 task done

0.13.0 send email got 501 error #7411

4ft35t opened this issue Mar 30, 2023 · 2 comments
Labels
💊 bug Something isn't working

Comments

@4ft35t
Copy link

4ft35t commented Mar 30, 2023

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    = gogs@xx.xx
USER    = gogs@xx.xx
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    = gogs@xx.xx
USER    = gogs@xx.xx
PASSWD  = password

Code of Conduct

  • I agree to follow this project's Code of Conduct
@4ft35t 4ft35t added the 💊 bug Something isn't working label Mar 30, 2023
@Bullz3y3
Copy link

Bullz3y3 commented May 5, 2023

Instead of PASSWD =, use PASSWORD =

@koolkunz
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💊 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants