bako / laravel-mail-tester
Send test emails from artisan command
Installs: 1 049
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 1
Requires
- php: >=5.5.9
- laravel/framework: 5.*
This package is not auto-updated.
Last update: 2024-11-23 20:42:13 UTC
README
Laravel Email Tester is a tool that let you test laravel mail setup via artisan commands.
Installation
composer require bako/laravel-mail-tester
Register service provider "Bako\Laravel\MailTester\MailTesterProvider"
Basic Usage
php artisan mail:test email_address
Options:
* "--subject" Set up email subject ( Default is "Test" ).
php artisan mail:test email_address --subject=Subject
* "--body" Set up email body ( Default is "Test" and will be discarded if view is setup ).
php artisan mail:test email_address --body=Body
* "--queue" Whether the send of email should be via queue.
php artisan mail:test email_address --queue
* "--view" Test email from view
php artisan mail:test email_address --view=viewName