diff --git a/app/Listeners/General/EntityEmailedNotification.php b/app/Listeners/General/EntityEmailedNotification.php index a5254aa5b7..d05adbc09b 100644 --- a/app/Listeners/General/EntityEmailedNotification.php +++ b/app/Listeners/General/EntityEmailedNotification.php @@ -28,7 +28,7 @@ class EntityEmailedNotification implements ShouldQueue { use UserNotifies; - public $delay = 10; + public $delay = 1; private $entity_string; @@ -78,8 +78,6 @@ class EntityEmailedNotification implements ShouldQueue if (($key = array_search('mail', $methods)) !== false) { unset($methods[$key]); - nlog((new EntitySentObject($event->invitation, $this->entity_string, $event->template, $company_user->portalType()))); - $nmo = new NinjaMailerObject(); $nmo->mailable = new NinjaMailer((new EntitySentObject($event->invitation, $this->entity_string, $event->template, $company_user->portalType()))->build()); $nmo->company = $event->invitation->company;