Tag
#php
4 posts tagged “php”.
- 3 min read
Mautic email deliverability: replace SMTP with the Symfony Mailer DSN transport
Mautic 5 runs on Symfony Mailer, not SwiftMailer — which means it can take a native mailkite+api:// DSN instead of generic SMTP. This tutorial covers the install, the DSN config, and why campaign-send errors are more useful than an SMTP rejection code.
- 4 min read
One DSN, three PHP ecosystems: MailKite's Symfony Mailer transport
mailkite/symfony-mailer resolves a mailkite+api:// DSN into a first-party Symfony Mailer transport — which means Mautic, PrestaShop, Drupal, and any plain Symfony app all get it from one package, with honest errors instead of a generic SMTP rejection.
- 3 min read
Drupal email that works: replace PHP mail() with proper SMTP
Drupal uses PHP's mail() function by default — the same broken path that sinks WordPress email in spam. This tutorial shows how to install the SMTP Authentication module, configure it for MailKite's SMTP relay, and route all Drupal site email through your DKIM-signed domain. Password resets, contact forms, content notifications — all deliverable.
- 3 min read
Laravel email configuration: two lines that determine inbox or spam
Laravel's mail config is two environment variables. But those two lines determine whether your transactional email lands in the inbox or spam folder. This tutorial shows how to configure Laravel to send through MailKite's SMTP relay: .env setup, Mailable classes, queue configuration, and inbound webhook handling.