承接 joepsyko/zf-dkim 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

joepsyko/zf-dkim

Composer 安装命令:

composer require joepsyko/zf-dkim

包简介

DKIM Signer for Zend Mail

README 文档

README

Zend Framework DKIM Signer.

Note

I tried to contact the original author of this project, but he ignore me, so I decide to clone the project and continue to improve it.

I will appreciate every contribution.

Installation

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

php composer.phar require joepsyko/zf-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

  1. Create a DKIM domain key

  2. Configure the DkimSigner using the config.dist file

  3. Sign & send

**I.e. in your Controller:**
$mail = new \Zend\Mail\Message();
$mail->setBody("Hello world!");
$mail->setFrom('from@example.com');
$mail->addTo('to@example.com');
$mail->setSubject('subject');

// sign message with dkim
$signer = $this->getServiceLocator()->get(\Dkim\Signer\Signer::class);
$signer->signMessage($mail);

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

That's it.

统计信息

  • 总下载量: 3.48k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-12-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固