created mail helper and modified moon mailer

This commit is contained in:
2020-01-31 21:29:06 -06:00
parent 413388e7b4
commit acbe6b6868
8 changed files with 82 additions and 16 deletions
@@ -16,7 +16,7 @@ use Commands\Library\CommandHelper;
//Models
use App\Models\Flex\FlexStructure;
use App\Models\Mail\SentMail;
use App\Models\Mail\EveMail;
use App\Models\Jobs\JobSendEveMail;
class FlexStructureCommand extends Command
{
@@ -93,7 +93,7 @@ class FlexStructureCommand extends Command
$body += "Warped Intentions Leadership<br>";
//Dispatch the mail job
$mail = new EveMail;
$mail = new JobSendEveMail;
$mail->sender = $config['primary'];
$mail->subject = "Warped Intentions Flex Structures Payment Due for " . $today->englishMonth;
$mail->body = $body;