sinevia/laravel-mail
Composer 安装命令:
composer require sinevia/laravel-mail
包简介
Laravel's mail transport for Sinevia Web Services Mail
README 文档
README
Laravel package for sending mail via the Sinevia Web Serices API
Installation
Install the package via composer
composer require sinevia/laravel-mail
Configuration
After publishing, add and fill the next values to your .env file
MAIL_DRIVER=sinevia_mail
Add and fill the next values to your config/services file
'sinevia_mail' => [
'domain' => 'http://ws.sinevia.com/mails/mail-send',
'secret' => 'APIKEY',
],
How to Use?
\Mail::raw('EMAILS WORKING TEXT', function ($message) { $message->from('mail@server.com','From Name'); $message->to('to@server.com','To Name'); $message->cc('cc@server.com','Cc Name'); $message->bcc('bcc@server.com','Bcc Name'); $message->subject("EMAILS WORKING SUBJECT"); }); // check for failures if (\Mail::failures()) { dd('FAILED'); } dd('SUCCESS');
统计信息
- 总下载量: 98
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2018-08-11