update
This commit is contained in:
@@ -49,11 +49,11 @@ class SendMailCampaignRecipient implements ShouldQueue
|
||||
if ($bcc = EmailRecipients::parse($campaign->bcc)) {
|
||||
$mailer->bcc($bcc);
|
||||
}
|
||||
$mailer->send(new GenericTemplateMail(
|
||||
$failed = $mailer->send(new GenericTemplateMail(
|
||||
$rendered['subject'],
|
||||
$rendered['html'],
|
||||
Arr::only($campaign->template?->mailConfig() ?? [], ['from_email', 'from_name', 'reply_to', 'reply_to_name']),
|
||||
));
|
||||
)) === null;
|
||||
} catch (\Throwable $e) {
|
||||
$failed = true;
|
||||
Log::warning('Gửi email chiến dịch thất bại', [
|
||||
|
||||
Reference in New Issue
Block a user