Codefresh Steps: Reusable Code for Common Operations
This page provides code you can use to perform common operations in the Codefresh CI/CD platform.
Send an email via Sendgrid sendgrid
Send an email using Sendgrid.
arguments
TestMail:
type: sendgrid
arguments:
SENDGRID_APIKEY: '${{SENDGRID_APIKEY}}'
SENDGRID_MAIL: '${{SENDGRID_MAIL}}'
SENDGRID_FROM: '${{SENDGRID_FROM}}'
SENDGRID_SUBJECT: '${{SENDGRID_SUBJECT}}'
SENDGRID_TYPE: '${{SENDGRID_TYPE}}'
SENDGRID_MESSAGE: '${{SENDGRID_MESSAGE}}'
SENDGRID_TEMPLATE: '${{SENDGRID_TEMPLATE}}'