commit
7ec71d886d
2 changed files with 8 additions and 6 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue