Fix secure setting and fix smtp+starttls defaulting to the wrong port (#329)

* Auto-derive the secure setting from serverPort, after setting serverPort

* Breaking: Add smtps scheme, fix smtp+starttls to default to port 587

* Use getBooleanInput for secure
This commit is contained in:
polyfloyd authored and GitHub committed 2026-10-04 16:34:48 +02:00
1 parent 0635835dfc
commit c2c6302b92
3 files changed
+20 -13

No files matched your search

+3 -2
View File
@@ -19,13 +19,14 @@ Some features:
# Optional proxy, NO_PROXY is honored too:
SMTP_PROXY: http://proxy.example.test:3128
with:
# Specify connection via URL (replaces server_address, server_port, secure,
# Specify connection via URL (replaces server_address, server_port,
# username and password)
#
# Format:
#
# * smtp://user:password@server:port
# * smtp+starttls://user:password@server:port
# * smtps://user:password@server:port (TLS, default port 465)
# * smtp+starttls://user:password@server:port (STARTTLS required, default port 587)
connection_url: ${{secrets.MAIL_CONNECTION}}
# Required mail server address if not connection_url: