定制 k-ko/send-mail-smtp 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

k-ko/send-mail-smtp

Composer 安装命令:

composer require k-ko/send-mail-smtp

包简介

Shell script wrapper for PHPMailer

README 文档

README

Install

composer require k-ko/send-mail-smtp

Send emails secured via your own SMTP email server

Usage: vendor/bin/sendmail -c <config-file> [options]

Options:
        -c      Config file {required}
        -t      To: address(es), can be used multiple times
        -s      Subject
        -b      Plain text body, if starts with @ assume get from file
        -f      HTML body, if starts with @ assume get from file
        -w      CC: address(es), can be used multiple times
        -z      BCC: address(es), can be used multiple times
        -r      From: From email address, overwrites config file if given
        -a      Attachment(s); file_name[,display_name]
        -p      Priority (0|1)
        -v[vvv] PHPMailer verbosity
        -h      This help

Possible formats for emails: 'name@example.com' or 'any name <name@example.com>'
If a HTML body is set, an additional plain text body will be ignored!

All options can be defined in the config file and will be overwritten by command line parameters.

All Email addresses are accepted as name@example.com or any name <name@example.com> or "any name" <name@example.com>

Verbosity levels are translated to

  • 0 - No debug output, default
  • 1 - Client commands
  • 2 - Client commands and server responses
  • 3 - Client commands and server responses plus connection status
  • 4 - Low-level data output, all messages

Messages goes to STDERR

Configuration

Copy config.dist.php and adjust for your needs

$ cp vendor/k-ko/send-mail-smtp/config.dist.php email.conf.php

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-02-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固