定制 pulli/emate 二次开发

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

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

pulli/emate

最新稳定版本:v1.1.0

Composer 安装命令:

composer require pulli/emate

包简介

Wrapper for MailMate's emate CLI

README 文档

README

Latest Version on Packagist Tests Total Downloads

Installation

You can install the package via composer:

composer require pulli/emate

Usage

// First symlink emate, if not already done so
\Pulli\Emate\Emate::symlink();

// The values below are also the default values.
// No parameter in the array is actually required.
// Just set the one's you need.
$emate = \Pulli\Emate\Emate::from([
    'body' => '',
    'to' => [], // array of email addresses or Symfony\Component\Mime\Address objects or string separated by newline with email addresses
    'from' => '', // email address or Symfony\Component\Mime\Address object
    'cc' => [], // array of email addresses or Symfony\Component\Mime\Address objects or string separated by newline with email addresses
    'bcc' => [], // array of email addresses or Symfony\Component\Mime\Address objects or string separated by newline with email addresses
    'files' => [], // array of file paths or string separated by newline with file paths
    'reply_to' => '', // email address or Symfony\Component\Mime\Address object
    'markdown' => false, // boolean
    'encrypt' => false, // boolean
    'sign' => false, // boolean
    'send_now' => false, // boolean
    'encryption_mode' => 'openpgp', // string: mime or openpgp
])->mail();

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-01-08