mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2026-11-22 05:25:29 +07:00
Add require_tls input to prevent STARTTLS fallback to plain text (#317)
Expose nodemailer's requireTLS option so that when secure is false (e.g. STARTTLS on port 587), the connection aborts if the server does not support/negotiate STARTTLS, instead of silently sending credentials in clear text.
This commit is contained in:
1 parent
ca8dbb4d4f
commit
03a02a4940
3 files changed
+11
No files matched your search
@@ -14,6 +14,9 @@ inputs:
|
||||
default: "25"
|
||||
secure:
|
||||
description: Whether this connection use TLS (default is true if server_port is 465)
|
||||
require_tls:
|
||||
description: When 'secure' is false, refuse to send if the server does not support STARTTLS (prevents credentials from ever being sent in clear text)
|
||||
required: false
|
||||
username:
|
||||
description: Authenticate as this user to SMTP server
|
||||
password:
|
||||
|
||||
Reference in new issue
Block a user