PHPackages                             citco/mailer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. citco/mailer

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

citco/mailer
============

CIT Mailer class an extension from the laravels default mailer class.

2.0.0(10y ago)4120PHPPHP &gt;=5.4.0

Since Nov 10Pushed 8y ago5 watchersCompare

[ Source](https://github.com/citco/mailer)[ Packagist](https://packagist.org/packages/citco/mailer)[ RSS](/packages/citco-mailer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (6)Used By (0)

Citco Mailer : Better tracking of mails sent with Laravel's Mailer
==================================================================

[](#citco-mailer--better-tracking-of-mails-sent-with-laravels-mailer)

Citco Mailer is developed by [Creative Investments Technologies](http://creativeinvestments.co.uk) as an extension to Mailer package provided by [Laravel framework](http://www.laravel.com)

About
-----

[](#about)

Citco Mailer adds some unique features to original Mailer provided by Laravel framework. These features include:

- Adding custom headers to outgoing mails for better tracking of bounced mails
- Log all outgoing mails by auto forwarding them to a special log email address
- More help on email tracking by generating a reply-path alias for each receiver, based on receiver's email address

Installation
------------

[](#installation)

### Composer

[](#composer)

From the Command Line:

```
composer require citco/mailer:dev-master

```

In your `composer.json`:

```
{
    "require": {
        "citco/mailer": "dev-master"
    }
}
```

After updating composer, add the MailerServiceProvider to the providers array in app/config/app.php

```
    'Citco\Mailer\MailerServiceProvider',
```

You also need to publish configurations for this package by executing this artisan command:

```
php artisan config:publish citco/mailer

```

This makes configuration options available in `app/config/packages/citco/mailer/config.php` .
These configuration include:
**site.id**: Used to set *X-Site-ID* header parameter in sent mails. **noreply.address** and **noreply.name**: Address and name used as sender to send emails from.
**log.enabled**: If set to true, a copy of all outgoing emails will also be sent to a special *log.address*.
**log.address** and **log.name**: Log email address and name, used to send all outgoing mails if *log.enabled* is set to true.
**dev.address** and **dev.name**: Address and name of development mail account. This is useful while developing your application. If the application is running on local or dev environment (detected by Laravel environment detection mechanism) then all outgoing mails will be sent to this special address regardless of what address is passed to Mailer as recipient.
**return.path**: Return path of sent mails. All bounce reports will be delivered to an alias of this address.

Basic Usage
-----------

[](#basic-usage)

Before using Citco Mailer you should edit src/config/config.php wich includes some configuration variables. After editing this file, when using Citco Mailer for outgoing email messages, it will add information needed for tracking to the message.

License
-------

[](#license)

Citco Mailer is open source software licensed under [the MIT license](http://opensource.org/licenses/MIT)

Copyright [Creative Investments Technologies](http://creativeinvestments.co.uk)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 77.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~98 days

Total

5

Last Release

3815d ago

Major Versions

1.1.0.x-dev → 2.0.02015-12-08

PHP version history (2 changes)1.0.0.x-devPHP &gt;=5.3.0

1.1.0PHP &gt;=5.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/3e40967143f1416bcd47a9c7c10d2e38652e8031c4d5de75fe165aad208fa096?d=identicon)[kaizotech](/maintainers/kaizotech)

---

Top Contributors

[![ammont](https://avatars.githubusercontent.com/u/2066482?v=4)](https://github.com/ammont "ammont (14 commits)")[![nimamo](https://avatars.githubusercontent.com/u/1217593?v=4)](https://github.com/nimamo "nimamo (4 commits)")

### Embed Badge

![Health badge](/badges/citco-mailer/health.svg)

```
[![Health](https://phpackages.com/badges/citco-mailer/health.svg)](https://phpackages.com/packages/citco-mailer)
```

###  Alternatives

[fedeisas/laravel-mail-css-inliner

Inline the CSS of your HTML emails using Laravel

5974.6M3](/packages/fedeisas-laravel-mail-css-inliner)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[coconutcraig/laravel-postmark

Laravel package for sending mail via the Postmark API

2152.9M1](/packages/coconutcraig-laravel-postmark)[eduardokum/laravel-mail-auto-embed

Library for embed images in emails automatically

1702.0M5](/packages/eduardokum-laravel-mail-auto-embed)[illuminate/notifications

The Illuminate Notifications package.

483.0M967](/packages/illuminate-notifications)[squareboat/sneaker

An easy way to send emails with stack trace whenever an exception occurs on the server for Laravel Applications.

220191.2k](/packages/squareboat-sneaker)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
