承接 asmoday74/yii2-mailer-task 相关项目开发

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

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

asmoday74/yii2-mailer-task

最新稳定版本:1.0

Composer 安装命令:

composer require asmoday74/yii2-mailer-task

包简介

Component for sending messages via yii2-tasks

README 文档

README

Component for sending messages via yii2-tasks

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist asmoday74/yii2-mailer-task "*"

or add

"asmoday74/yii2-mailer-task": "*"

to the require section of your composer.json file.

Usage

As soon as the extension is installed, indicate in the settings of the Mailer component the path to it:

    'components' => [
        'mailer' => [
        'class' => \asmoday74\mailertask\Mailer::class,
        'viewPath' => '@common/mail', //or @app/mail for basic template yii2
        'useFileTransport' => false,
        'transport' => [
            'scheme' => 'smtps',
            'host' => 'your smtp server',
            'username' => 'your login',
            'password' => 'your password',
            'port' => '465',
            'encryption' => 'ssl',
        ],
    ],

    ...
    ]

Other

Do not forget to configure TASKS launch according to your preferences.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-03-10