zfc-mail:ZF2邮件管理模块

时间:2021-05-17 05:56:55
【文件属性】:
文件名称:zfc-mail:ZF2邮件管理模块
文件大小:29KB
文件格式:ZIP
更新时间:2021-05-17 05:56:55
PHP ZF2邮件模块 用法 主要功能是action字段,该字段允许使用命名值发送消息而无需ID引用。 命名的最佳方法是user_add或status_inProgress ,其中第一部分是模块mnemo ,第二部分是action mnemo 。 在您的Listener您可以使用如下所示的内容 /** @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')]);
【文件预览】:
zfc-mail-master
----view()
--------magere()
----src()
--------Module.php(2KB)
--------Controller()
--------Form()
--------Service()
--------Listener()
--------View()
--------Model()
----config()
--------module.config.php(2KB)
--------yaml()
--------navigation.config.php(2KB)
--------mail.config.php(574B)
--------mail.config.php.smtp.sample(974B)
----LICENSE(1KB)
----README.md(569B)
----composer.json(579B)

网友评论