SMTP Component
Send emails through an SMTP server
Component key: smtp
Description
SMTP or Simple Mail Transfer Protocol is an internet stanard for email transmission. This component allows you to send emails via any SMTP server.
Connections
SMTP Connection
On-prem enabled: this connection can be configured to connect to an on-prem resource on a private network. Learn more.
Input | Default | Notes | Example |
---|---|---|---|
Host string / Required host | smtp.example.com | ||
Password password / Required password | |||
Port string / Required port | 587 | Port 587 is often used for SMTP with TLS. Port 25 is often used for unsecure SMTP. | |
Use TLS boolean secure | true | Use TLS to secure the connection to the SMTP server. | |
Username string / Required username |
Actions
Send Email
Send an email | key: sendEmail
Input | Notes | Example |
---|---|---|
Attachments string Key Value List attachments | Specify a file name as the key (i.e. 'my-file.pdf'), and the file as the value | |
Bcc Address string Value List bcc | The destination for this email. The recipients to place on the BCC: line of the message. | example@example.com |
BCC Address (JSON) code bccJson | The destination for this email. The recipients to place on the BCC: line of the message. An array of emails is expected. | |
Cc Address string Value List cc | The destination for this email. The recipients to place on the CC: line of the message. | example@example.com |
CC Address (JSON) code ccJson | The destination for this email. The recipients to place on the CC: line of the message. An array of emails is expected. | |
Connection connection / Required connection | ||
From string from | The email address of the sender. This is the address that will appear in the recipient's inbox as the sender of the message. | example@example.com |
Html code html | The content of the message, in HTML format. Use this for email clients that can process HTML. You can include clickable links, formatted text, and much more in an HTML message. | |
Reply To string Value List replyTo | The reply-to email address(es) for the message. If the recipient replies to the message, each reply-to address will receive the reply. | example@example.com |
Subject string / Required subject | The subject of the message: A short summary of the content, which will appear in the recipient's inbox. | My Email Subject |
Text string / Required text | The content of the message, in text format. Use this for text-based email clients, or clients on high-latency networks (such as mobile devices). | Hello World! |
To Address string / Required Value List to | The destination for this email. The recipients to place on the To: line of the message. | example@example.com |
To Address (JSON) code toJson | The destination for this email. The recipients to place on the To: line of the message. An array of emails is expected. |