PHPackages                             ride/app-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. ride/app-mailer

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

ride/app-mailer
===============

Integration of the mailer library for a Ride application.

1.0.0(8y ago)01.2k2MITPHP

Since Feb 22Pushed 8y ago1 watchersCompare

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

READMEChangelogDependencies (3)Versions (3)Used By (2)

Ride: Mailer
============

[](#ride-mailer)

Integration of the mailer library with a Ride application.

What's In This Module
---------------------

[](#whats-in-this-module)

### DependencyMailTypeProvider

[](#dependencymailtypeprovider)

A mail type provider based on the dependency injector. You can write your own mail type class, define it in dependencies and you're ready to go.

### ExtendedMailService

[](#extendedmailservice)

This *ExtendedMailService* extends the mail service of the library and adds support to set and get the global mail types.

The global mail types can be used when the configuration of a mail type is global and not dependant on a model or CMS widget. The *ride/wba-mailer* provides an interface for these global mail types.

Code Sample
-----------

[](#code-sample)

An example of a mail type:

```
