Download the PHP package massimo-filippi/mail-module without Composer
On this page you can find all versions of the php package massimo-filippi/mail-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download massimo-filippi/mail-module
More information about massimo-filippi/mail-module
Files in massimo-filippi/mail-module
Package mail-module
Short Description ZF3 module for e-mail communication
License MIT
Homepage https://github.com/massimo-filippi/mail-module
Informations about the package mail-module
mail-module
ZF3 module for e-mail communication
Introduction
There will be more info soon...
Installation
1. Install via Composer
Install the latest stable version via Composer:
Install the latest develop version via Composer:
2. Enable module in your application
Composer should enable MassimoFilippi\MailModule
in your project automatically during installation.
In case it does not, you can enable module manually by adding value 'MassimoFilippi\MailModule'
to array in file config/modules.config.php
. At the end, it should look like PHP array below.
You don't have to use this package as Zend Framework module if you don't want to.
3. Set up your configuration
At this time you can use 2 services: SparkPost and Mailjet. Below are examples of my config/autoload/local.php
file.
Using MailjetAdapter:
Using SparkPostAdapter:
Using SparkPostSmtpAdapter:
Usage
Somewhere in business logic classes. Usage should be always the same.
All versions of mail-module with dependencies
zendframework/zend-mail Version ^2.8
mailjet/mailjet-apiv3-php Version ^1.2
guzzlehttp/guzzle Version ^6.3
php-http/guzzle6-adapter Version ^1.1
sparkpost/sparkpost Version ^2.1