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:
parent
729351033b
commit
df14baa6d7
@ -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);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user