send-mail/action.yml

56 lines
1.6 KiB
YAML
Raw Normal View History

2020-03-27 16:24:26 +07:00
name: Send email
description: Send an email to multiple recipients
2019-11-18 19:23:22 +07:00
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
to:
description: Recipients mail addresses (separated with comma)
required: true
from:
2020-03-27 15:52:00 +07:00
description: Full name of mail sender (might be with an email address specified in <>)
2019-11-18 19:23:22 +07:00
required: true
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
2020-12-16 23:16:24 +07:00
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
2021-04-02 05:02:46 +07:00
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
2019-11-18 19:05:04 +07:00
runs:
2020-03-01 05:01:03 +07:00
using: node12
main: main.js