Matomo + MailKite
Matomo (formerly Piwik) is an open-source analytics platform. Point its SMTP at MailKite and every report, alert, and user notification goes out over your own DKIM-signed domain.
What you need
- A verified domain with SPF + DKIM published
- Your API key (
mk_live_…) - A Matomo installation
Configure SMTP
Open Matomo and go to Settings → General Settings → Mail server settings. Select SMTP as the mail transport and enter the MailKite credentials.
| SMTP Host | smtp.mailkite.dev |
| SMTP Port | 587 |
| Encryption | TLS (STARTTLS) |
| Username | mailkite |
| Password | Your API key (mk_live_…) |
| From Address | hello@yourdomain.com (on a verified domain) |
Settings → General Settings → Mail server
# Settings → General Settings → Mail server settings
Mail transport: SMTP
SMTP server address: smtp.mailkite.dev
SMTP port: 587
SMTP username: mailkite
SMTP password: mk_live_...
SMTP encryption: TLS
Email from: hello@yourdomain.com Test it
Trigger a scheduled report or user notification from the Matomo admin panel. Check your MailKite dashboard to confirm the message was relayed successfully.
Troubleshooting
- Emails not sending — confirm the
Fromaddress is on a verified domain. - 535 Authentication failed — your password must be your
mk_live_…API key, not a separate SMTP password. - Wrong transport — ensure Mail transport is set to SMTP, not PHP
mail().
See the SMTP relay docs for the full connection reference, or all integrations for other platforms.