1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Add slight delays to emails

This commit is contained in:
David Bomba 2022-11-27 21:56:21 +11:00
parent 729351033b
commit df14baa6d7

View File

@ -37,7 +37,7 @@ class SendEmail
$contact = $this->payment->client->contacts()->first(); $contact = $this->payment->client->contacts()->first();
if ($contact?->email) if ($contact?->email)
EmailPayment::dispatch($this->payment, $this->payment->company, $contact); EmailPayment::dispatch($this->payment, $this->payment->company, $contact)->delay(2);
} }
} }