updated jobs for mails

This commit is contained in:
2019-05-04 01:01:08 -05:00
parent d1aef4fb7b
commit 65a6759f08
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ class CalculateMarketTaxCommand extends Command
'<br>Please remit to Spatial Forces';
$mail->recipient = (int)$info->character_id;
$mail->recipient_type = 'character';
//$mail->save();
SendEveMail::dispatch($mail);
}
+2 -2
View File
@@ -105,10 +105,10 @@ class MoonMailerCommand extends Command
$mail->body = $body;
$mail->recipient = (int)$rental->Contact;
$mail->recipient_type = 'character';
$mail->save();
//$mail->save();
//Dispatch the job and cycle to the next moon rental
SendEveMail::dispatch($mail)->delay(Carbon::now());
SendEveMail::dispatch($mail);
//After the mail is dispatched, saved the sent mail record,
$sentmail = new SentMail;