Skip to content
PHP 8.2+ & Laravel Mail ReadyComposer & Port 587 ESMTP

Send transactional email in PHP and Laravel in seconds with fast dispatch

Modern, typed PHP email delivery with zero bloated dependencies. Dispatch high-deliverability emails via lightweight Composer SDK, cURL REST API, or drop-in ESMTP relay.

3,000 emails/month freeZero credit card requiredSub-20ms edge latency
202 Accepted
Dispatch Latency
Queued durably before any provider call
6,000
Free Monthly Sends
DKIM & SPF included
100%
Laravel Compatibility
Custom mail transport & SMTP
Developer Ergonomics

Drop into your application in under 60 seconds

Native typed interfaces with zero unnecessary dependencies. Built for standard fetch and modern edge runtimes.

$composer require guzzlehttp/guzzle
send_email.php
php
PHP
<?php

declare(strict_types=1);

require 'vendor/autoload.php';

use GuzzleHttp\Client;

$client = new Client([
    'base_uri' => 'https://api.sadasend.com',
    'timeout'  => 5.0,
]);

$response = $client->post('/emails', [
    'headers' => [
        'Authorization' => 'Bearer ' . getenv('SADASEND_API_KEY'),
        'Content-Type'  => 'application/json',
    ],
    'json' => [
        'from'    => 'Billing <billing@yourdomain.com>',
        'to'      => 'customer@example.com',
        'subject' => 'Invoice #1042 Ready for Download',
        'html'    => '<h1>Invoice #1042</h1><p>Your payment was successfully processed.</p>',
    ],
]);

echo "Status: " . $response->getStatusCode() . "\n";
echo (string) $response->getBody();

Standard PHP 8.2+ transactional email dispatch using Guzzle HTTP or native curl with zero cold-start delay.

Core Infrastructure

Engineered for high deliverability and zero incident risk

Every layer from edge connection pooling to per-key rate limits is designed to keep critical transactional dispatches fast, reliable, and contained.

Laravel Mail Driver Ready

Configure as a standard custom mail transport in config/mail.php or use native Port 587 ESMTP credentials with zero code rewrite.

PHP 8.2+ Strictly Typed

Full compatibility with modern PHP standards, strict typing, Composer autoloading, and Symfony HttpClient.

low-latency HTTP API Dispatch

Bypass heavy multi-roundtrip SMTP handshakes in synchronous PHP worker loops with lightweight HTTP POST dispatch.

Port 587 ESMTP Relay Fallback

Direct drop-in replacement for PHPMailer or legacy SwiftMailer stacks requiring zero library architecture overhauls.

Staging Recipient Allowlists

Prevent test orders in staging PHP and Docker environments from leaking live customer notifications with domain locks.

6,000 Free Monthly Emails

Generous permanent developer tier with full DKIM signing, REST API access, and webhook delivery logs included.

Architectural Comparison

SadaSend vs PHPMailer (Local Postfix / Sendmail)

Why modern PHP applications choose SadaSend over local sendmail and unauthenticated SMTP relays.

Feature & CapabilitySadaSendPHPMailer (Local Postfix / Sendmail)
Global DKIM, SPF & DMARC SigningManual Postfix DNS maintenance
low-latency HTTP REST DispatchBlocks worker thread during SMTP handshake
Real-Time Webhook Event Stream
Development Recipient Allowlists
Port 587 ESMTP Compatibility
Deliverability Dashboard & LogsGrep /var/log/maillog manually
Forever Free Tier
Transparent Economics

Start with 3,000 emails every month at zero cost

No artificial paywalls on security. Unlike legacy providers that reserve recipient allowlists or dedicated IP pools for high enterprise tiers, every SadaSend account receives full safety controls from day one.

3,000 dispatches monthly forever with zero credit card
All safety gates, allowlists, and velocity limits included
Scale seamlessly: Starter ($12/mo for 10k), Pro ($19/mo for 50k), Scale ($79/mo for 250k)
Free Developer Plan
$0 / mo

No credit card required

Create Free AccountCompare all paid plan tiers
Frequently Asked Questions

Everything you need to know about PHP email API

Clear, transparent answers on deliverability, API authentication, and rate limits.

You can configure SadaSend in config/mail.php by defining an SMTP transport pointing to smtp.sadasend.com on port 587 with your API key, or by creating a custom HTTP transport driver calling the SadaSend /emails REST endpoint.
Technical Deep Dives

Related developer guides and architectural tutorials

Explore step-by-step production implementation blueprints, benchmarks, and protocols.