mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2024-11-10 05:51:07 +07:00
51 lines
1.4 KiB
YAML
51 lines
1.4 KiB
YAML
name: Send email
|
|
description: Send an email to multiple recipients
|
|
author: dawidd6
|
|
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: true
|
|
password:
|
|
description: Authenticate with this password to SMTP server
|
|
required: true
|
|
subject:
|
|
description: Subject of mail message
|
|
required: true
|
|
body:
|
|
description: Body of mail message (might be a filename prefixed with file:// to read from)
|
|
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
|
|
cc:
|
|
description: Carbon copy recipients (separated with comma)
|
|
required: false
|
|
bcc:
|
|
description: Blind carbon copy recipients (separated with comma)
|
|
required: false
|
|
content_type:
|
|
description: Content-Type HTTP header (text/html or text/plain)
|
|
required: false
|
|
default: text/plain
|
|
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
|
|
runs:
|
|
using: node12
|
|
main: main.js
|