Download the PHP package fastnloud/zf2-dkim without Composer
On this page you can find all versions of the php package fastnloud/zf2-dkim. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download fastnloud/zf2-dkim
More information about fastnloud/zf2-dkim
Files in fastnloud/zf2-dkim
Download fastnloud/zf2-dkim
More information about fastnloud/zf2-dkim
Files in fastnloud/zf2-dkim
Vendor fastnloud
Package zf2-dkim
Short Description DKIM Signer for Zend Mail
License MIT
Homepage https://github.com/fastnloud/zf2-dkim
Package zf2-dkim
Short Description DKIM Signer for Zend Mail
License MIT
Homepage https://github.com/fastnloud/zf2-dkim
Please rate this library. Is it a good library?
Informations about the package zf2-dkim
README
Zend Framework 2 DKIM Signer.
Installation
Installation of this module uses composer. For composer documentation, please refer to https://getcomposer.org.
php composer.phar require fastnloud/zf2-dkim
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.
Usage
-
Create a DKIM domain key
-
Configure the DkimSigner using the config.dist file
- Sign & send
I.e. in your Controller:
$mail = new \Zend\Mail\Message();
$mail->setBody("Hello world!");
$mail->setFrom('[email protected]');
$mail->addTo('[email protected]');
$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);
That's it.
All versions of zf2-dkim with dependencies
PHP Build Version
Package Version
The package fastnloud/zf2-dkim contains the following files
Loading the files please wait ....