mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2026-10-09 09:59:45 +07:00
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:
1 parent
0635835dfc
commit
c2c6302b92
3 files changed
+20
-13
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user