for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace BeyondCode\HeloLaravel;
use Illuminate\Console\Command;
class TestMailCommand extends Command
{
protected $signature = 'helo:test';
protected $description = 'Send a test mail to your local HELO application.';
public function handle(\Illuminate\Contracts\Mail\Mailer $mailer)
$this->info("Sending a test mail to HELO.");
$mailer->send((new TestMail())->to('[email protected]'));
$this->info("Check in HELO if it arrived!");
}