sinevia / laravel-mail
Laravel's mail transport for Sinevia Web Services Mail
Installs: 98
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/sinevia/laravel-mail
Requires
- guzzlehttp/guzzle: ~7.0
Requires (Dev)
- phpunit/phpunit: ~4.0
This package is auto-updated.
Last update: 2025-09-29 01:50:12 UTC
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');