Email providers
Email providers deliver the emails your website sends: account activation, password reset, email address confirmation, notifications, contact form messages and system alerts.
Chevereto connects to the provider of your choice using either SMTP or the provider's own HTTP API.
Supported providers
The table below lists all supported providers, the value stored for each one in the email_mode setting and the fields each one requires.
| Provider | Value | Required fields |
|---|---|---|
| SMTP | smtp | Server, port, security (username and password optional) |
| PHP mail() | mail | None |
| AhaSend | ahasend | API key |
| Amazon SES | ses | Access key, secret key |
| Azure | azure | Resource name, access key |
| Brevo | brevo | API key |
| Infobip | infobip | API key, base URL |
| MailerSend | mailersend | API key |
| Mailgun | mailgun | API key, domain |
| Mailjet | mailjet | API key, secret key |
| Mailomat | mailomat | API key |
| MailPace | mailpace | API token |
| Mailtrap | mailtrap | API token |
| Mandrill | mandrill | API key |
| Microsoft Graph | microsoftgraph | Client app ID, client secret, tenant ID |
| Postal | postal | API key, server URL |
| Postmark | postmark | Server API token |
| Resend | resend | API key |
| Scaleway | scaleway | Project ID, API key |
| SendGrid | sendgrid | API key |
| Sweego | sweego | API key |
| Null (dev) | null | None |
Availability
Not every option is offered in every installation:
- PHP mail() is only offered when Chevereto runs on a regular server. It isn't offered in Docker installations.
- SMTP and PHP mail() aren't offered in Chevereto Cloud (SaaS). Use one of the API providers instead.
- Null (dev) is only offered when the
CHEVERETO_ENVIRONMENTenvironment variable isdev.
Before you start
Whatever provider you use:
- Verify your sending domain with the provider. Most providers ask you to add DNS records (SPF, DKIM and often DMARC) to the domain used in the From email address. Without them, emails are often rejected or sent to spam.
- Use an address on that verified domain as the From email address, for example
no-reply@yourwebsite.com. Chevereto refuses to send from any@chevereto.comaddress. - Create an API key with send access only, when the provider lets you choose. Chevereto only needs to send emails.
Provider setup
SMTP
SMTP works with almost any email service: your hosting provider, Google Workspace, Microsoft 365, Zoho, and the SMTP relays offered by most of the providers in this page.
| Field | Value |
|---|---|
| SMTP server | Hostname of the SMTP server, for example smtp.yourwebsite.com |
| Port | Usually 587 for TLS, 465 for SSL, or 25 |
| SMTP username | Username for the SMTP server, if it requires authentication |
| SMTP password | Password for the SMTP server, if it requires authentication |
| SMTP security | See below |
| Security | Effect |
|---|---|
| TLS | Connect in plain text and upgrade to an encrypted connection (STARTTLS), usually port 587 |
| SSL | Connect encrypted from the start (implicit TLS), usually port 465 |
| Unsecured | Don't verify the server's certificate. Use only for local or trusted servers |
When you save, Chevereto connects to the SMTP server and shows the result above the SMTP fields: Connected successfully, or the error returned by the server.
PHP mail()
Sends emails through the server's local mail program (sendmail). It requires a mail server configured on the same machine as Chevereto.
WARNING
Emails sent this way are often rejected or marked as spam. Use it only in development, and use SMTP or an API provider in production.
AhaSend
- Sign in to AhaSend and add and verify your sending domain
- Create an API key with permission to send emails
- Enter it as the AhaSend API key
Amazon SES
- In the Amazon SES console, switch to the EU (Ireland)
eu-west-1region - Verify your sending domain under Identities
- Request production access. New SES accounts are in a sandbox that only sends to verified addresses
- In the IAM console, create a user with permission to send emails (for example the
ses:SendEmailaction, or the AmazonSESFullAccess policy) - Create an access key for the user, and enter the Access key and Secret access key as the Amazon SES access key and Amazon SES secret key
Region
Chevereto sends through the eu-west-1 (Ireland) region. Identities and production access in other regions don't apply. Set up SES in eu-west-1, or use SMTP with the SES SMTP endpoint of your region.
Azure
Uses Azure Communication Services.
- In the Azure portal, create an Email Communication Services resource and add and verify your domain
- Create a Communication Services resource and connect the verified domain to it
- Open the Communication Services resource and go to Keys
- Enter the resource name as the Azure resource name. It's the
<name>part of the endpointhttps://<name>.communication.azure.com - Enter the Primary key as the Azure access key
Brevo
- Sign in to Brevo and add and authenticate your sending domain under Senders, Domains & Dedicated IPs
- Go to SMTP & API > API Keys and generate a new API key
- Enter it as the Brevo API key
Infobip
- Sign in to the Infobip portal and add and verify your sending domain for the Email channel
- Create an API key with access to the Email API
- Copy your account Base URL, shown in the portal and in the API documentation while signed in
- Enter the Infobip API key and the Infobip base URL
Enter the base URL as a hostname only, for example xxxxx.api.infobip.com, without https://.
MailerSend
- Sign in to MailerSend and add and verify your domain
- Go to Integrations > API tokens and generate a token with Email sending access
- Enter it as the MailerSend API key
Mailgun
- Sign in to Mailgun and add and verify a sending domain, for example
mg.yourwebsite.com - Create an API key under your account's API security settings
- Enter the Mailgun API key and the Mailgun domain (the sending domain from step 1)
Region
Chevereto uses Mailgun's US region. Domains created in the EU region won't work. Use SMTP with smtp.eu.mailgun.org for EU domains.
Mailjet
- Sign in to Mailjet and add and validate your sender domain
- Go to Account settings > API Key Management and copy the API key and Secret key
- Enter them as the Mailjet API key and Mailjet secret key
Mailomat
- Sign in to Mailomat and add and verify your sending domain
- Create an API key
- Enter it as the Mailomat API key
MailPace
- Sign in to MailPace and add and verify your domain
- Open the domain and copy its API token
- Enter it as the MailPace API token
Mailtrap
- Sign in to Mailtrap and add and verify your domain under Sending Domains
- Go to API Tokens and create a token with access to that domain
- Enter it as the Mailtrap API token
Chevereto uses Mailtrap's sending API, which delivers emails to recipients. It doesn't use the Mailtrap testing sandbox.
Mandrill
Mandrill is Mailchimp's transactional email service and requires a Mailchimp account with the Transactional add-on.
- Sign in to Mandrill and add and verify your sending domain under Settings > Domains
- Go to Settings > SMTP & API Info and create a new API key
- Enter it as the Mandrill API key
Microsoft Graph
Sends emails through a Microsoft 365 / Exchange Online mailbox.
- In the Microsoft Entra admin center, go to App registrations and create a new registration
- Under API permissions, add the Microsoft Graph > Application permissions > Mail.Send permission and grant admin consent
- Under Certificates & secrets, create a new client secret and copy its value
- From the app's Overview, copy the Application (client) ID and Directory (tenant) ID
- Enter the Microsoft Graph client app ID, client secret and tenant ID
The From email address must be a mailbox that exists in your Microsoft 365 tenant.
TIP
Mail.Send as an application permission lets the app send as any mailbox in the tenant. You can restrict it to specific mailboxes with an Exchange Online application access policy.
Postal
Postal is a self-hosted mail server.
- In your Postal web interface, open the mail server and verify your sending domain
- Go to Credentials and create a new credential of type API
- Enter the credential key as the Postal API key
- Enter the hostname of your Postal installation as the Postal server URL, for example
postal.yourwebsite.com, withouthttps://
Postal must be reachable over HTTPS.
Postmark
- Sign in to Postmark and add and verify your domain under Sender Signatures
- Open the server you will use, go to API Tokens and copy the Server API token
- Enter it as the Postmark server API token
Chevereto sends through the server's default transactional message stream.
Resend
- Sign in to Resend and add and verify your domain under Domains
- Go to API Keys and create a key with Sending access
- Enter it as the Resend API key
Scaleway
Uses Scaleway Transactional Email.
- In the Scaleway console, open Transactional Email in the Paris (
fr-par) region and add and verify your domain - Copy the Project ID from your project settings
- Go to IAM > API keys and generate an API key with permission to send transactional emails in that project
- Enter the Scaleway project ID, and the API key's secret key as the Scaleway API key
Region
Chevereto sends through the fr-par (Paris) region. Domains set up in other regions won't work.
SendGrid
- Sign in to SendGrid and authenticate your domain under Settings > Sender Authentication
- Go to Settings > API Keys and create a key with Restricted Access, granting Mail Send full access
- Enter it as the SendGrid API key
Sweego
- Sign in to Sweego and add and verify your sending domain
- Create an API key for the Email channel
- Enter it as the Sweego API key
Null (dev)
Accepts every email and discards it: nothing is delivered. It needs no credentials.
It exists for development and testing. Flows that depend on email, such as sign up, account activation, password recovery and the test email, run as if a provider were configured, without setting up a real one and without sending emails to real addresses.
It's only offered when the CHEVERETO_ENVIRONMENT environment variable is dev. If that variable changes to anything else while null is selected, sending fails with the error "Null email API is only available in dev environment".
DANGER
Don't use it in production. Users won't receive activation, password recovery or any other email.
Provide credentials
Once you have the credentials, go to Settings > Email:
- Set the From name, From email address and Incoming email address
- Select your provider in Email API
- Fill in the fields shown for that provider, and save
For SMTP, saving tests the connection to the server. For the other providers, saving only checks that the fields are filled in: the credentials are first used when an email is sent.
Test delivery
Use Tools > Send test email to send a test email. If it fails, the error returned by the provider is shown and written to the error log.
Sending the test to a service such as mail-tester.com also checks your SPF, DKIM and DMARC records.
No email provider configured
Until an email API is selected, the dashboard shows the notice "There's no email provider configured". Select a provider before opening sign ups, as account activation and password recovery depend on email.
