2017 © Pedro Peláez
 

zf-module zfc-mail

ZF2 mail managment module

image

popov/zfc-mail

ZF2 mail managment module

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 71 % Grown

The README.md

ZF2 Mail Module

Usage

Main feature is action field which allow use named values for sending message without id reference. The best way for naming is user_add or status_inProgress where the first part is module mnemo and the second is action mnemo., (*1)

In your Listener you can use this something like this, (*2)

/** @var Mail $mail */
$mail = $em->getRepository(Mail::class)->findOneBy(['action' => 'user_add', 'type' => Mail::TYPE_MAIL]);
$mailService->send($mail, [$user->getEmail()], ['user' => $user, 'password' => $e->getParam('password')]);

The Versions

26/05 2018

dev-master

9999999-dev

ZF2 mail managment module

  Sources   Download

MIT

The Requires

  • php >=5.6

 

zf2 mail managment