Skip to content

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.

ProviderValueRequired fields
SMTPsmtpServer, port, security (username and password optional)
PHP mail()mailNone
AhaSendahasendAPI key
Amazon SESsesAccess key, secret key
AzureazureResource name, access key
BrevobrevoAPI key
InfobipinfobipAPI key, base URL
MailerSendmailersendAPI key
MailgunmailgunAPI key, domain
MailjetmailjetAPI key, secret key
MailomatmailomatAPI key
MailPacemailpaceAPI token
MailtrapmailtrapAPI token
MandrillmandrillAPI key
Microsoft GraphmicrosoftgraphClient app ID, client secret, tenant ID
PostalpostalAPI key, server URL
PostmarkpostmarkServer API token
ResendresendAPI key
ScalewayscalewayProject ID, API key
SendGridsendgridAPI key
SweegosweegoAPI key
Null (dev)nullNone

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_ENVIRONMENT environment variable is dev.

Before you start ​

Whatever provider you use:

  1. 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.
  2. 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.com address.
  3. 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.

FieldValue
SMTP serverHostname of the SMTP server, for example smtp.yourwebsite.com
PortUsually 587 for TLS, 465 for SSL, or 25
SMTP usernameUsername for the SMTP server, if it requires authentication
SMTP passwordPassword for the SMTP server, if it requires authentication
SMTP securitySee below
SecurityEffect
TLSConnect in plain text and upgrade to an encrypted connection (STARTTLS), usually port 587
SSLConnect encrypted from the start (implicit TLS), usually port 465
UnsecuredDon'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 ​

  1. Sign in to AhaSend and add and verify your sending domain
  2. Create an API key with permission to send emails
  3. Enter it as the AhaSend API key

Amazon SES ​

  1. In the Amazon SES console, switch to the EU (Ireland) eu-west-1 region
  2. Verify your sending domain under Identities
  3. Request production access. New SES accounts are in a sandbox that only sends to verified addresses
  4. In the IAM console, create a user with permission to send emails (for example the ses:SendEmail action, or the AmazonSESFullAccess policy)
  5. 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.

  1. In the Azure portal, create an Email Communication Services resource and add and verify your domain
  2. Create a Communication Services resource and connect the verified domain to it
  3. Open the Communication Services resource and go to Keys
  4. Enter the resource name as the Azure resource name. It's the <name> part of the endpoint https://<name>.communication.azure.com
  5. Enter the Primary key as the Azure access key

Brevo ​

  1. Sign in to Brevo and add and authenticate your sending domain under Senders, Domains & Dedicated IPs
  2. Go to SMTP & API > API Keys and generate a new API key
  3. Enter it as the Brevo API key

Infobip ​

  1. Sign in to the Infobip portal and add and verify your sending domain for the Email channel
  2. Create an API key with access to the Email API
  3. Copy your account Base URL, shown in the portal and in the API documentation while signed in
  4. 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 ​

  1. Sign in to MailerSend and add and verify your domain
  2. Go to Integrations > API tokens and generate a token with Email sending access
  3. Enter it as the MailerSend API key

Mailgun ​

  1. Sign in to Mailgun and add and verify a sending domain, for example mg.yourwebsite.com
  2. Create an API key under your account's API security settings
  3. 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 ​

  1. Sign in to Mailjet and add and validate your sender domain
  2. Go to Account settings > API Key Management and copy the API key and Secret key
  3. Enter them as the Mailjet API key and Mailjet secret key

Mailomat ​

  1. Sign in to Mailomat and add and verify your sending domain
  2. Create an API key
  3. Enter it as the Mailomat API key

MailPace ​

  1. Sign in to MailPace and add and verify your domain
  2. Open the domain and copy its API token
  3. Enter it as the MailPace API token

Mailtrap ​

  1. Sign in to Mailtrap and add and verify your domain under Sending Domains
  2. Go to API Tokens and create a token with access to that domain
  3. 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.

  1. Sign in to Mandrill and add and verify your sending domain under Settings > Domains
  2. Go to Settings > SMTP & API Info and create a new API key
  3. Enter it as the Mandrill API key

Microsoft Graph ​

Sends emails through a Microsoft 365 / Exchange Online mailbox.

  1. In the Microsoft Entra admin center, go to App registrations and create a new registration
  2. Under API permissions, add the Microsoft Graph > Application permissions > Mail.Send permission and grant admin consent
  3. Under Certificates & secrets, create a new client secret and copy its value
  4. From the app's Overview, copy the Application (client) ID and Directory (tenant) ID
  5. 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.

  1. In your Postal web interface, open the mail server and verify your sending domain
  2. Go to Credentials and create a new credential of type API
  3. Enter the credential key as the Postal API key
  4. Enter the hostname of your Postal installation as the Postal server URL, for example postal.yourwebsite.com, without https://

Postal must be reachable over HTTPS.

Postmark ​

  1. Sign in to Postmark and add and verify your domain under Sender Signatures
  2. Open the server you will use, go to API Tokens and copy the Server API token
  3. Enter it as the Postmark server API token

Chevereto sends through the server's default transactional message stream.

Resend ​

  1. Sign in to Resend and add and verify your domain under Domains
  2. Go to API Keys and create a key with Sending access
  3. Enter it as the Resend API key

Scaleway ​

Uses Scaleway Transactional Email.

  1. In the Scaleway console, open Transactional Email in the Paris (fr-par) region and add and verify your domain
  2. Copy the Project ID from your project settings
  3. Go to IAM > API keys and generate an API key with permission to send transactional emails in that project
  4. 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 ​

  1. Sign in to SendGrid and authenticate your domain under Settings > Sender Authentication
  2. Go to Settings > API Keys and create a key with Restricted Access, granting Mail Send full access
  3. Enter it as the SendGrid API key

Sweego ​

  1. Sign in to Sweego and add and verify your sending domain
  2. Create an API key for the Email channel
  3. 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:

  1. Set the From name, From email address and Incoming email address
  2. Select your provider in Email API
  3. 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.

Released under the Apache-2.0 License.