updated jobs for mails
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user