2017 © Pedro Peláez
 

module zf2-mail-module

Zend Framework 2 module to create and send email messages.

image

phower/zf2-mail-module

Zend Framework 2 module to create and send email messages.

  • Tuesday, February 23, 2016
  • by pedrobrazao
  • Repository
  • 1 Watchers
  • 0 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

ZF2 Mail Module

Zend Framework 2 module to create and send email messages., (*1)

Instalation

Composer

composer require phower/zf2-mail-module

Configuration

  1. Copy vendor/phower/zf2-mail-module/config/phower-mail-module.php.dist to config/autoload/phower-mail-module.local.php and update your settings., (*2)

  2. Edit config/application.config.php and add PhowerMailModule to your modules list., (*3)

Usage

From a Controller or any Service Locator Aware instance:, (*4)

<?php
$mailService = $this->getServiceLocator()->get('PhowerMailService');
$message = $mailService->getMessage();
$message->addTo('user@example.com')
        ->setSubject('Message subject')
        ->setBody('Message text.')
        ->send();

You're done!, (*5)

The Versions

23/02 2016

dev-master

9999999-dev

Zend Framework 2 module to create and send email messages.

  Sources   Download

MIT

The Requires

 

by Avatar Pedro Ferreira

23/02 2016

0.2.0

0.2.0.0

Zend Framework 2 module to create and send email messages.

  Sources   Download

MIT

The Requires

 

by Avatar Pedro Ferreira

17/02 2016

0.1.1

0.1.1.0

Zend Framework 2 module to create and send email messages.

  Sources   Download

MIT

The Requires

 

by Avatar Pedro Ferreira

17/02 2016

0.1.0

0.1.0.0

Zend Framework 2 module to create and send email messages.

  Sources   Download

MIT

The Requires

 

by Avatar Pedro Ferreira