WHMCS, cPanel, and Exim SMTP Relay
Use this guide when a hosting stack should send outbound mail through Mailtarget while the application continues to use SMTP.
Mailtarget settings
Host: smtp.mtrgt.net
Port: 587
Encryption: STARTTLS
Username: smtp_mt_injection
Password: <api_key with Send via SMTP permission>
WHMCS
In WHMCS mail settings:
- Select SMTP as the mail provider.
- Set host to
smtp.mtrgt.net. - Set port to
587. - Enable TLS or STARTTLS.
- Set username to
smtp_mt_injection. - Set password to a Mailtarget API key with Send via SMTP permission.
Exim relay outline
For Exim-based systems, configure a smarthost route to smtp.mtrgt.net::587, enable authentication, and require TLS. Exact file paths vary by cPanel and Exim version, so apply changes through the supported WHM interface when possible.
Validation
Send a message to an external mailbox and confirm:
- Exim accepts the message locally.
- The Mailtarget relay accepts the message.
- The recipient domain receives the message.
- Mailtarget records delivery, bounce, or delay events.