Symfony Mailer through Notix, or the PHP client.
There is no Symfony bundle for Notix, and you do not need one. Symfony Mailer speaks SMTP, so one MAILER_DSN line sends every existing email through the relay. For sends that need the message id or an idempotency key, call the PHP client from a service.
Send an email from Symfony.
# Port 465 uses implicit TLS. The username is always notix; the password is your API key.
MAILER_DSN=smtp://notix:notix_xxxxxxxxxxxx@smtp.usenotix.dev:465
namespace App\Mail;
use Notix\Notix;
final class ReceiptSender
{
private Notix $notix;
public function __construct()
{
$this->notix = new Notix($_ENV['NOTIX_API_KEY']);
}
public function send(string $to, int $orderId): string
{
$email = $this->notix->emails->send([
'from' => 'Acme <receipts@acme.com>',
'to' => $to,
'subject' => 'Your receipt',
'html' => '<p>Thanks for your order.</p>',
], "order-{$orderId}-receipt");
return $email['emailId'];
}
}
The from address must be on a domain you have verified in Notix. Step by step: the PHP quickstart and the longer guide to sending email from PHP.
One API key, kept on the server.
Create an API key on the API keys page of the Notix console and store it as NOTIX_API_KEY in .env.local, outside version control. Read it only in code that runs on the server, never in anything shipped to a browser.
A Send only key is enough for code that only sends: if it leaks, it cannot read your contacts or delete a domain.
NOTIX_API_KEY=notix_xxxxxxxxxxxx
NOTIX_WEBHOOK_SECRET=whsec_xxxxxxxxxxxx
Questions, answered.
Is there a Notix Symfony bundle?
What goes in the DSN password?
Why is my send refused with a from-address error?
Keep reading.
Send email from PHP
The PHP SDK, plain cURL, or PHPMailer pointed at the relay, with the same idempotency key on every retry.
DocsPHP
Send an email from PHP with the usenotix/notix-php package.
IntegrationsIntegrations
Notix inside the frameworks, platforms and AI coding tools you already use, from Next.js and Laravel to Supabase, Vercel and Cursor.
ProductEmail API
One JSON API for transactional and marketing email: send, batch, schedule, webhooks, typed SDKs.
NotixPricing
A free plan with no card, and Pro at $15 a month for 50,000 emails. Only sent volume is metered.
Send your first email in five minutes.
Verify a domain, copy an API key, make one call. The free plan does not ask for a card.