From df14baa6d78b97481e61ff1b2641d9c818adb15e Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 27 Nov 2022 21:56:21 +1100 Subject: [PATCH] Add slight delays to emails --- app/Services/Payment/SendEmail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/Payment/SendEmail.php b/app/Services/Payment/SendEmail.php index be7326098c9c..38f1c0aa75c2 100644 --- a/app/Services/Payment/SendEmail.php +++ b/app/Services/Payment/SendEmail.php @@ -37,7 +37,7 @@ class SendEmail $contact = $this->payment->client->contacts()->first(); if ($contact?->email) - EmailPayment::dispatch($this->payment, $this->payment->company, $contact); + EmailPayment::dispatch($this->payment, $this->payment->company, $contact)->delay(2); } }