Send email
step
Send an email through a self defined SMTP server.
Specification
server
Required
object
A map containing the configuratino of your SMTP server.
server.
host
Required
string
The host where your SMTP server is available.
server.
port
Required
integer
The port the server is accessible on.
server.
username
Required
string
The username used for authentication into the server.
server.
password
Required
string
The password used for authentication into the server.
server.
tls
Optional
boolean
Should the Transport Layer Security protocol be used?
from
Required
string
The email address you would like the email to come from.
to[]
Required
array
The email address(es) you would like the email to be sent to.
cc[]
Optional
array
The email address(es) you would like the email to be cc'd to.
bcc[]
Optional
array
The email address(es) you would like the email to be bcc'd to.
subject
Optional
string
The subject line you would like to include in the email.
body
Optional
object
A map with the configration for the body of the email.
body.
html
Optional
string
The HTML you would like to send in the body of the email
body.
text
Optional
string
Text for a plain text version of the email
timeoutSeconds
Optional
integer
The maximum amount of time the process is allowed to take.
email-sender-smtp
Example step configuration
name: send-email
image: relaysh/email-sender-smtp
spec:
server:
host: !Secret smtp-host
port: 25
username: !Secret smtp-username
password: !Secret smtp-password
from: !Parameter from
to: !Parameter to
subject: !Parameter subject
body:
html: !Parameter message