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

fix(Gitea): change secure mailer protocol to smtps unless port is 587 #406

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

kosmoz
Copy link
Member

@kosmoz kosmoz commented Nov 6, 2023

#387 implicitly introduced a change in the mailer protocol used if tlsEnabled is set to true. Previously, Gitea used to select "smtps" by default but now it was changed to "smtp-starttls".

With this change, the protocol is changed back to "smtps", unless the SMTP port is set to 587, in which case it is set to "smtp-starttls".

@kosmoz kosmoz requested a review from christophenne November 6, 2023 09:47
@kosmoz kosmoz self-assigned this Nov 6, 2023
@kosmoz kosmoz merged commit d8d7415 into main Nov 6, 2023
3 checks passed
@kosmoz kosmoz deleted the kosmoz/gitea-email-protocol-fix branch November 6, 2023 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants