mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 22:47:32 -05: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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user