Easily send emails via SMTP directly from your GitHub workflows with this action.
This action allows you to send emails using SMTP. It's perfect for sending notifications, alerts, or any other type of email directly from your GitHub workflows.
Description: The SMTP server to use.
Description: The SMTP port to use.
Default: 465
Description: Specifies if the SMTP server uses SSL.
Default: true
Description: The email address the mail gets sent from.
Description: The recipients of the mail, separated by commas.
Description: The username of the mail account.
Description: The password of the mail account.
Description: The subject of the mail.
Description: The body content of the mail.
Usage: Plain text for the content of the mail. If this is set, html input is ignored.
Description: HTML content of the mail. Usage: HTML content for the content of the mail. Supports multi-line input.
steps:
- name: Send Email
uses: hilarion5/send-mail@v1
with:
smtp-server: smtp.example.com
smtp-port: 465
smtp-secure: true
from-email: [email protected]
to-email: [email protected],[email protected]
username: yourusername
password: yourpassword
subject: Test Email
body: This is a test email sent from GitHub Actions.
html: |
<h1>This is a test email</h1>
<p>Test Paragraph</p>