mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2026-11-22 05:25:29 +07:00
Misc. fixes (#267)
* Misc. fixes - Do not expose 'username' to a potential recipient. - Make 'from' mandatory, because there is no fallback anymore. - Validate 'from' to make shure, it contains an email address. - Avoid namespace pollution: Use let instead of var. * Suggested changes from codereview
This commit is contained in:
1 parent
e035119249
commit
41125078ce
3 files changed
+13
-14
No files matched your search
+1
-1
@@ -25,7 +25,7 @@ inputs:
|
||||
description: Recipients mail addresses (separated with comma)
|
||||
required: false
|
||||
from:
|
||||
description: Full name of mail sender (might be with an email address specified in <>)
|
||||
description: 'Either a plain email address, or full name of the sender, followed by whitespace, followed by email address enclosed in <>'
|
||||
required: true
|
||||
body:
|
||||
description: Body of mail message (might be a filename prefixed with file:// to read from)
|
||||
|
||||
Reference in new issue
Block a user