Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

makapaka's avatar

Mail via campaign monitor smtp error

I am using a business campaign monitor account to try send Laravel Mail.

Config:

MAIL_DRIVER=smtp
MAIL_HOST=smtp.api.createsend.com
MAIL_PORT=587
MAIL_USERNAME=<token>
MAIL_PASSWORD=<same token>
MAIL_ENCRYPTION=tls

I created the token in the CM transactional page, and am getting the error

" {"exception":"[object] (Swift_TransportException(code: 550): Expected response code 250 but got code \"550\", with message \"550 5.7.22 no valid dkim found
\" at /Sites/dashboard/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php:419)
0 likes
2 replies
jryd's avatar
jryd
Best Answer
Level 12

Is the email service all setup correctly.

The error suggests that no valid DKIM record was found.

This is a DNS record that aids in verifying emails sent under your name actually were sent by you.

It is not a Laravel error.

You may want to check that you have completed all your 'setup' steps with Campaign Monitor - most email transactional services require this as part of the 'getting started' process to ensure your emails that you send don't end up in spam.

makapaka's avatar

thanks @jryd I can see in campaign monitor there is some steps needed to be done to authenticate domain, thanks

Please or to participate in this conversation.