hymailer/mailerqueue 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

hymailer/mailerqueue

Composer 安装命令:

composer require hymailer/mailerqueue

包简介

Asynchronous mail delivery queue by HY

README 文档

README

Asynchronous mail delivery queue by HY

Installation

The preferred way to install this extension is through composer.

run

php composer.phar require --prefer-dist hymailer/mailerqueue

to the require section of your composer.json.

Configuration

To use this extension, you have to configure the Connection class in your application configuration:

return [ //....

'components' => [
    'mailer' => [

        // 'class' => 'yii\swiftmailer\Mailer',
        // 指向自定义的扩展类名(继承yii\swiftmailer\Mailer) 加载时无法识别自定义的目录 需要在前面alias声明

        'class' => 'hymailer\mailqueue\QueueMailer',

        // send all mails to a file by default. You have to set
        // 'useFileTransport' to false and configure a transport
        // for the mailer to send real emails.

        'db'  => '1', //redis默认有16个库,这里选择入第2个库
        'key' => 'mails',  //redis键名
        'useFileTransport' => false,
        'transport' => [
            'class' => 'Swift_SmtpTransport',
            'host' => 'smtp.163.com',
            'username' => 'imooc_shop@163.com',
            'password' => 'imooc123',
            'port' => '465',
            'encryption' => 'ssl',
        ],
    ],
]

];

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-12-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固