feat: support other smtp protocols #39

Merged
fauno merged 2 commits from smtp into master 2025-01-07 20:12:17 +00:00
Owner
No description provided.
fauno added 1 commit 2025-01-07 16:35:15 +00:00
decentral1se reviewed 2025-01-07 16:48:48 +00:00
@ -72,3 +72,3 @@
ENABLED = true
FROM = {{ env "GITEA_MAILER_FROM" }}
PROTOCOL = smtps
PROTOCOL = {{ env "GITEA_MAILER_PROTOCOL" }}
Owner

This will break new deploys if they don't update their .env. We can either figure out a way to make backwards compatible (toolshed/organising#359) or add a warning in the release notes? I guess that would be a breaking change tho 🤔

This will break new deploys if they don't update their `.env`. We can either figure out a way to make backwards compatible (https://git.coopcloud.tech/toolshed/organising/issues/359) or add a warning in the release notes? I guess that would be a breaking change tho 🤔
decentral1se marked this conversation as resolved
decentral1se reviewed 2025-01-07 16:49:15 +00:00
decentral1se left a comment
Owner

💫

💫
fauno reviewed 2025-01-07 16:55:43 +00:00
compose.smtp.yml Outdated
@ -8,6 +8,7 @@ services:
- GITEA_MAILER_ADDR
- GITEA_MAILER_PORT
- GITEA_MAILER_USER
- GITEA_MAILER_PROTOCOL
Author
Owner

@decentral1se what about changing this to:

- GITEA_MAILER_PROTOCOL=${GITEA_MAILER_PROTOCOL:-smtps}
@decentral1se what about changing this to: ```yaml - GITEA_MAILER_PROTOCOL=${GITEA_MAILER_PROTOCOL:-smtps} ```
Owner

Nice!

Nice!
decentral1se marked this conversation as resolved
fauno added 1 commit 2025-01-07 17:26:25 +00:00
decentral1se approved these changes 2025-01-07 17:30:53 +00:00
fauno merged commit e313c82857 into master 2025-01-07 20:12:17 +00:00
Sign in to join this conversation.
No description provided.