Packagist
wazobiamail/wazobiamail-php — v0.1.2Source
WazobiaMail/wazobiamail-php
At a glance
Install
Configure
Send your first email
The SDK accepts the ergonomic flat shape and normalizes it to the API’s nestedcontent contract:
What you can do
messages()— send, URL attachments, multipart attachments, spam check.domains()— list/create/update/delete, DNS records, mail DNS, verify, Cloudflare.mailboxes()andmailboxMessages()— provision inboxes and read enterprise messages.tracking()andtemplates()— delivery timeline and reusable templates.relays()/smtpRelays()— customer SMTP relay configuration.webhooks()— HMAC SHA-256 signature verification and event decoding (no network call).
Webhooks
Errors
All failures extendWazobiaMail\Exceptions\WazobiaException; specific classes include AuthenticationException, ForbiddenException, NotFoundException, ValidationException, RateLimitException and ServerException.
Framework notes
In Symfony, registerWazobiaMailClient as a service and inject it into controllers or message handlers. For Laravel, use the dedicated wazobiamail/wazobiamail-laravel package so the mail driver, facade and service provider are registered automatically.
