vakata/mail 问题修复 & 功能扩展

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

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

vakata/mail

最新稳定版本:1.5.1

Composer 安装命令:

composer require vakata/mail

包简介

A few simple mail sender classes

关键字:

README 文档

README

Latest Version on Packagist Software License Build Status Code Climate Tests Coverage

A few simple mail sender class.

Install

Via Composer

$ composer require vakata/mail

Usage

// build the message
$mail = new \vakata\mail\Mail();
$mail
    ->setFrom('Name Family <mail@domain.tld>') // or simply an email
    ->setSubject('Testmail') // unicode is fine too
    ->setMessage('Check this pic out <img src="http://url.to/pic" />')
    ->setTo(['first@recipient.tld', 'Second Person <second@recipient.tld>'])
    ->setCc('mail@domain.tld')
    ->setBcc('bcc@domain.tld');

// send the message
$sender = new \vakata\mail\driver\SMTPSender('ssl://user:pass@host:port');
// PHP mail() is also supported:
// $sender = new \vakata\mail\driver\MailSender();

$sender->send($mail); // return an array of good and bad emails

Read more in the API docs

Testing

$ composer test

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email github@vakata.com instead of using the issue tracker.

Credits

License

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-12-07