New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

sohaibilyas/laravel-zeptomail

A ZeptoMail mail transport for Laravel.
1,003
Install
composer require sohaibilyas/laravel-zeptomail
Latest Version:v1.0.1
PHP:^8.2
Laravel:11 · 12 · 13
License:MIT
Last Updated:Jul 4, 2026
Links: GitHub  ·  Packagist
Maintainer: sohaibilyas

Laravel ZeptoMail

A Laravel mail transport for sending mail through Zoho ZeptoMail.

Installation

composer require sohaibilyas/laravel-zeptomail

Configuration

Add your ZeptoMail token to .env:

ZEPTOMAIL_TOKEN="Zoho-enczapikey your-token"
ZEPTOMAIL_HOST=api.zeptomail.com
ZEPTOMAIL_API_VERSION=v1.1

You may also pass only the raw token value. The transport will add the Zoho-enczapikey prefix automatically.

The package automatically registers a zeptomail Laravel mailer. Set it as your default mailer:

MAIL_MAILER=zeptomail
MAIL_FROM_ADDRESS=noreply@example.com
MAIL_FROM_NAME="${APP_NAME}"

Publishing the config file is optional. Use it only when you want the ZeptoMail package config in your app:

php artisan vendor:publish --tag=zeptomail-config

If you prefer to configure ZeptoMail inside Laravel's mail config instead, you may add a zeptomail entry to config/mail.php:

'mailers' => [
    'zeptomail' => [
        'transport' => 'zeptomail',
        'token' => env('ZEPTOMAIL_TOKEN'),
        'host' => env('ZEPTOMAIL_HOST', 'api.zeptomail.com'),
        'version' => env('ZEPTOMAIL_API_VERSION', 'v1.1'),
        'timeout' => env('ZEPTOMAIL_TIMEOUT', 30),
    ],
],

Usage

Use Laravel's mail API as usual:

use App\Mail\WelcomeMail;
use Illuminate\Support\Facades\Mail;

Mail::to('info@example.com')->send(new WelcomeMail);

The transport sends requests to:

https://api.zeptomail.com/v1.1/email

Testing

composer test

Related Packages

zohomail/laravel-zeptomail

Custom Mail Driver Plugin for Laravel

39,576 0
emailit/emailit-laravel

Laravel integration for the Emailit Email API

9,779 4
clinically-au/laravel-smtp2go

Laravel Mail transport driver for SMTP2Go API

18,267 0
elfsundae/laravel-multi-mail

The missing multi-mail implementation for Laravel 5.3

77 14
frontier-sh/sinkhole-laravel

Laravel mail transport for Sinkhole — a Cloudflare Worker email trap

3,441 0

Version History

Version Released PHP Laravel License
v1.0.1 ^8.2 ^11.0|^12.0|^13.0 MIT
v1.0.0 ^8.2 ^11.0|^12.0|^13.0 MIT