1.2K

smtp smtp

Sends Email using SMTP Server

arguments

  • BODY - Email Body
  • FROM - Email Sender Address
  • MIME_TYPE - MIME Type
  • SMTP_PASSWORD - SMTP Server Password
  • SMTP_PORT - SMTP Server Port
  • SMTP_SERVER - SMTP Server Address
  • SMTP_USERNAME - SMTP Server Username
  • SUBJECT - Email Subject
  • TO - Email Receipent Address
    SendEmail:
  type: smtp
  arguments:
    TO: project_team@domain.com
    FROM: service_user@domain.com
    SUBJECT: 'Build for ${{CF_REPO_NAME}}'
    BODY: '<html><a href="${{CF_BUILD_URL}}">Codefresh Build</a></html>'
    MIME_TYPE: html
    SMTP_SERVER: smtp.domain.com
    SMTP_USERNAME: service_user@domain.com
    SMTP_PASSWORD: password

  
    SendEmail:
  type: smtp
  arguments:
    TO: 'user1@gmail.com, user2@gmail.com, user3@gmail.com'
    FROM: service_user@gmail.com
    SUBJECT: 'Build for ${{CF_REPO_NAME}}'
    BODY: '<html><a href="${{CF_BUILD_URL}}">Codefresh Build</a></html>'
    MIME_TYPE: html
    SMTP_SERVER: smtp.gmail.com
    SMTP_USERNAME: service_user@gmail.com
    SMTP_PASSWORD: password
    SMTP_PORT: '587'

  
github.com
Dustin Van Buskirk
Jul 4, 2021