diff --git a/app/Helpers/Mail/GmailTransport.php b/app/Helpers/Mail/GmailTransport.php index a641d902232f..c4c8e9740175 100644 --- a/app/Helpers/Mail/GmailTransport.php +++ b/app/Helpers/Mail/GmailTransport.php @@ -46,6 +46,8 @@ class GmailTransport extends Transport $this->gmail = null; $this->gmail = new Mail; + nlog($message->getBcc()); + /*We should nest the token in the message and then discard it as needed*/ $token = $message->getHeaders()->get('GmailToken')->getValue(); diff --git a/app/Http/Controllers/PostMarkController.php b/app/Http/Controllers/PostMarkController.php index e8600ed22652..e15d022418a6 100644 --- a/app/Http/Controllers/PostMarkController.php +++ b/app/Http/Controllers/PostMarkController.php @@ -165,13 +165,13 @@ class PostMarkController extends BaseController $this->invitation->email_status = 'bounced'; $this->invitation->save(); - $bounce = new EmailBounce( - $request->input('Tag'), - $request->input('From'), - $request->input('MessageID') - ); + // $bounce = new EmailBounce( + // $request->input('Tag'), + // $request->input('From'), + // $request->input('MessageID') + // ); - LightLogs::create($bounce)->batch(); + // LightLogs::create($bounce)->batch(); SystemLogger::dispatch($request->all(), SystemLog::CATEGORY_MAIL, SystemLog::EVENT_MAIL_BOUNCED, SystemLog::TYPE_WEBHOOK_RESPONSE, $this->invitation->contact->client, $this->invitation->company); }