PHPackages                             stesi/mail-dispatcher - 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. stesi/mail-dispatcher

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

stesi/mail-dispatcher
=====================

Inserts the email to be sent to the database and after sends them. This project use Propel2 as ORM.

352

Since Oct 12Compare

[ Source](https://github.com/stesi/mail-dispatcher)[ Packagist](https://packagist.org/packages/stesi/mail-dispatcher)[ RSS](/packages/stesi-mail-dispatcher/feed)WikiDiscussions Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

MailDispatcher
==============

[](#maildispatcher)

Usage:
======

[](#usage)

```

 //Create new template and set param to substitute in template
$template = (new Template ())
	->setTemplateName ( "test" )
	->addKeyVal ( (new KeyVal ())
		->setKey ( "Name" )
		->setVal ( "Mauro" ) )
	->addKeyVal ( (new KeyVal ())
		->setKey ( "Surname" )
		->setVal ( "Cerone" ) )
	->addKeyVal ( (new KeyVal ())
		->setKey ( "NickName" )
		->setVal ( "ceronem" ) );
//Create contact, FROM and A
$a = (new Contact ())->setAddress("cerone.m@stesi.eu");
$from = (new Contact())->setAddress("mauro.cerone@gmail.com");
//Add contact and template to Email object
$email = (new Email())
	->setTemplate($template)
	->setFrom($from)
	->addA($a)
	->setSubject("Test Email");
//Add email to the send queue
STeSI\MailDispatcher\Mailer::addMailToSend($email);
//Send all mail in send queue
STeSI\MailDispatcher\Mailer::startSendOperation();

```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/d35981376002cdf5be0414c02aec82b5fa59aaad13531658ece24e55b38bb92e?d=identicon)[moccia.f](/maintainers/moccia.f)

### Embed Badge

![Health badge](/badges/stesi-mail-dispatcher/health.svg)

```
[![Health](https://phpackages.com/badges/stesi-mail-dispatcher/health.svg)](https://phpackages.com/packages/stesi-mail-dispatcher)
```

###  Alternatives

[mattketmo/email-checker

Throwaway email detection library

2752.1M5](/packages/mattketmo-email-checker)[sarfraznawaz2005/noty

Laravel package to incorporate noty flash notifications into laravel.

324.5k](/packages/sarfraznawaz2005-noty)

PHPackages © 2026

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