dawidd6-action-send-mail

0
README.md

Send mail GitHub Action

An action that simply sends a mail to multiple recipients.

Some features:

  • plain text body
  • HTML body
  • multipart body (plain text + HTML)
  • Markdown to HTML converting (use
    html_body
    , not
    body
    )
  • file attachments (supports globbing)

Usage

Troubleshooting

Gmail

Instead of using your normal Google password, use an App password.

  1. Enable 2-Step Verification. This is needed to create an App password.
  2. Create an App password for
    Mail
    .

Unauthenticated login (username/password fields)

The parameters

username
and
password
are set as optional to support self-hosted runners access to on-premise infrastructure. If you are accessing public email servers make sure you provide a username/password authentication through GitHub Secrets to make the email delivery secure.