Giter Site home page Giter Site logo

send-mail's Introduction

Send Email via SMTP GitHub Action

Easily send emails via SMTP directly from your GitHub workflows with this action.

Description

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.

Inputs

smtp-server

Description: The SMTP server to use.

smtp-port

Description: The SMTP port to use.
Default: 465

smtp-secure

Description: Specifies if the SMTP server uses SSL.
Default: true

from-email

Description: The email address the mail gets sent from.

to-email

Description: The recipients of the mail, separated by commas.

username

Description: The username of the mail account.

password

Description: The password of the mail account.

subject

Description: The subject of the mail.

body

Description: The body content of the mail.
Usage: Plain text for the content of the mail. If this is set, html input is ignored.

html

Description: HTML content of the mail. Usage: HTML content for the content of the mail. Supports multi-line input.

Usage Example

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>

send-mail's People

Contributors

andi-rainer avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.