forked from dawidd6/action-send-mail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
77 lines (77 loc) · 2.5 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
name: Send email with OAuth2
description: Send an email to multiple recipients
author: cougargrades
branding:
icon: mail
color: blue
inputs:
server_address:
description: SMTP server address
required: true
server_port:
description: SMTP server port
required: true
username:
description: Authenticate as this user to SMTP server
required: false
password:
description: Authenticate with this password to SMTP server
required: false
subject:
description: Subject of mail message
required: true
to:
description: Recipients mail addresses (separated with comma)
required: true
from:
description: Full name of mail sender (might be with an email address specified in <>)
required: true
secure:
description: Whether this connection use TLS (default is true if server_port is 465)
required: false
body:
description: Body of mail message (might be a filename prefixed with file:// to read from)
required: false
html_body:
description: HTML body of mail message (might be a filename prefixed with file:// to read from)
required: false
cc:
description: Carbon copy recipients (separated with comma)
required: false
bcc:
description: Blind carbon copy recipients (separated with comma)
required: false
reply_to:
description: An email address that will appear on the Reply-To field
required: false
in_reply_to:
description: The Message-ID this message is replying to
required: false
ignore_cert:
description: Allow unsigned/invalid certificates
required: false
convert_markdown:
description: Convert body from Markdown to HTML (set content_type input as text/html too)
required: false
attachments:
description: Files that will be added to mail message attachments (separated with comma)
required: false
priority:
description: Set Priority level for the mail message to 'high', 'normal' (default) or 'low'
required: false
# https://nodemailer.com/smtp/oauth2/
oauth_user:
description: User email address (required)
required: false
oauth_client_id:
description: Is the registered client id of the application
required: false
oauth_client_secret:
description: Is the registered client secret of the application
required: false
oauth_refresh_token:
description: Is an optional refresh token. If it is provided then Nodemailer tries to generate a new access token if existing one expires or fails
required: false
runs:
using: node16
main: main.js