2017 © Pedro Peláez
 

library zf2-dkim

DKIM Signer for Zend Mail

image

fastnloud/zf2-dkim

DKIM Signer for Zend Mail

  • Wednesday, March 1, 2017
  • by fastnloud
  • Repository
  • 2 Watchers
  • 10 Stars
  • 792 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 2 Open issues
  • 3 Versions
  • 3 % Grown

The README.md

README

Zend Framework 2 DKIM Signer., (*1)

Installation, (*2)

Installation of this module uses composer. For composer documentation, please refer to https://getcomposer.org., (*3)

php composer.phar require fastnloud/zf2-dkim, (*4)

Create a ./config/autoload/dkim.global.php and ./config/autoload/dkim.local.php file with the configuration variable values as described in the project .dist files., (*5)

Usage, (*6)

  1. Create a DKIM domain key, (*7)

  2. Configure the DkimSigner using the config.dist file, (*8)

  3. Sign & send, (*9)

I.e. in your Controller:, (*10)

$mail = new \Zend\Mail\Message();
$mail->setBody("Hello world!");
$mail->setFrom('from@example.com');
$mail->addTo('to@example.com');
$mail->setSubject('le subject');

// sign message with dkim
$signer = $this->getServiceLocator()->get('DkimSigner');
$signer->signMessage($mail);

// send message
$transport = new \Zend\Mail\Transport\Sendmail();
$transport->send($mail);

, (*11)

That's it., (*12)

The Versions

01/03 2017

dev-master

9999999-dev https://github.com/fastnloud/zf2-dkim

DKIM Signer for Zend Mail

  Sources   Download

MIT

The Requires

 

zf2 dkim

14/03 2016

v1.0.6

1.0.6.0 https://github.com/fastnloud/zf2-dkim

DKIM Signer for Zend Mail

  Sources   Download

MIT

The Requires

 

zf2 dkim

27/02 2015

v1.0.5

1.0.5.0 https://github.com/fastnloud/zf2-dkim

DKIM Signer for Zend Mail

  Sources   Download

MIT

The Requires

 

zf2 dkim