| sidebar_position | 17 |
|---|---|
| description | Connect Appsmith to an SMTP server and use queries to send emails. |
This page provides information for connecting the SMTP datasource and for sending emails from your Appsmith app.
The following section is a reference guide that provides a complete description of all the parameters to connect SMTP.
The network location of your SMTP provider. This can be a domain name or an IP address.
The port number to connect to on the server.
The username for your email user.
The password for your email user's account.
:::note Some SMTP providers use a multi-factor authentication flow and may require you to generate a special password specifically to authenticate your Appsmith app. For example, Gmail SMTP requires you to generate an app password to use instead of your usual password. For more details, see Sign in with app passwords. :::
The following section is a reference guide that provides a complete description of all the parameters for sending emails.
This action sends an email through your SMTP server.
Sets the email address that appears as the message sender.
Toggles the Reply to email field.
Sets an email address that receives all replies to your email.
Sets the email addresses that receive your email. For multiple recipients, separate the addresses with commas.
Sets the email addresses that receive a CC (carbon copy). For multiple CC recipients, separate the addresses with commas.
Sets the email addresses that receive a BCC (blind carbon copy). For multiple BCC recipients, separate the addresses with commas.
Sets the email's subject line.
Sets the main body of the email. Supports rich text and HTML.
Attaches one or more files to the email. Expects an array of file objects.
See how to guide on Send Emails.
If you are experiencing difficulties, you can refer to the Datasource troubleshooting guide or contact the support team using the chat widget at the bottom right of this page.
- Send Emails - Learn how to send emails using the SMTP plugin, including configuration and integration steps.