2017 © Pedro Peláez
 

library emailtester

Send test emails using Artisan command

image

malcolmknott/emailtester

Send test emails using Artisan command

  • Saturday, July 15, 2017
  • by MalcolmKnott
  • Repository
  • 1 Watchers
  • 0 Stars
  • 26 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 13 % Grown

The README.md

Send test email using Laravel Artisan command

This composer package lets you easily send test email with a Laravel Artisan command., (*1)

Installation

Begin by pulling in the package through Composer., (*2)

composer require malcolmknott/emailtester

Next, if using Laravel 5, include the service provider within your config/app.php file., (*3)

'providers' => [
    Malcolmknott\Emailtester\EmailtesterServiceProvider::class,
];

Configuration

You will need to update the mail settings in your .env file before you can send email., (*4)

Optional, publish the config file to update max sends per command, the default max is 10 per command. The last parameter of the artisan command is how many email to send., (*5)

php artisan vendor:publish --provider="Malcolmknott\Emailtester\EmailtesterServiceProvider" --tag="config"

Usage

Artisan command, (*6)

php artisan send-email example@example.com 1

Scheduled Job, (*7)

$schedule->command('send-email example@example.com 1')->twiceDaily(9, 21);

Email Template

Publish the view file to add your own message., (*8)

php artisan vendor:publish --provider="Malcolmknott\Emailtester\EmailtesterServiceProvider" --tag="views"

The Versions

15/07 2017

dev-master

9999999-dev

Send test emails using Artisan command

  Sources   Download

MIT

by Malcolm Knott

15/07 2017

v1.0.2

1.0.2.0

Send test emails using Artisan command

  Sources   Download

MIT

by Malcolm Knott

27/06 2017

v1.0.1

1.0.1.0

Send test emails using Artisan command

  Sources   Download

MIT

by Malcolm Knott

27/06 2017

v1.0.0

1.0.0.0

Send test emails using Artisan command

  Sources   Download

MIT

by Malcolm Knott