mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2026-03-11 19:49:02 +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:
@@ -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