Chat bot builder? Go to buzzmark.chat

Integration guide · SMTP

Send Laravel email with Buzzmark.

Laravel’s built-in smtp mailer is all you need. Set a handful of MAIL_* values and every mailable and notification in your app goes out through Buzzmark. No package to install and no code to change.

Laravel .env
MAIL_MAILER=smtp
MAIL_HOST=smtp.buzzmarkapp.com
MAIL_PORT=587
MAIL_USERNAME=bzm_srv_...
MAIL_PASSWORD=bzm_srv_...
MAIL_FROM_ADDRESS="hello@acme.com"
MAIL_FROM_NAME="${APP_NAME}"
Test send shell
php artisan tinker

> Mail::raw('It works.', fn ($m) => $m->to('you@example.com')->subject('Hello from Buzzmark'));

Troubleshooting

I changed .env but Laravel still uses the old mail settings. Why?

The configuration is cached. Run php artisan config:clear, or php artisan config:cache as part of your deploy. Queue workers also keep the old settings in memory, so run php artisan queue:restart.

What does "550 5.7.1" mean?

Buzzmark refused the message and the text after the code gives the reason. Most often MAIL_FROM_ADDRESS, or a from() set on one mailable, is on a domain that is not verified in Buzzmark.

Why does the connection fail or time out?

Check MAIL_PORT is 587 or 2525 and that MAIL_SCHEME is not smtps. Buzzmark upgrades a plain connection with STARTTLS and has no implicit-TLS port 465. Some hosts also block outgoing port 587, in which case 2525 usually works.

Why does authentication fail with "535"?

The token is wrong or has been rotated. Check for a trailing space or a quote character copied into .env, and that MAIL_USERNAME and MAIL_PASSWORD hold the same token.

Setting up something else? See all integration guides.

Rather not do DNS by hand?

Buzzmark is EU-hosted transactional email that generates your SPF, DKIM, DMARC and Return-Path records, checks them for you and warns you if they ever drift.

Free up to 300 emails a month · No credit card