mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 23:54:35 -04:00
commit
7ec71d886d
@ -46,6 +46,8 @@ class GmailTransport extends Transport
|
|||||||
$this->gmail = null;
|
$this->gmail = null;
|
||||||
$this->gmail = new Mail;
|
$this->gmail = new Mail;
|
||||||
|
|
||||||
|
nlog($message->getBcc());
|
||||||
|
|
||||||
/*We should nest the token in the message and then discard it as needed*/
|
/*We should nest the token in the message and then discard it as needed*/
|
||||||
$token = $message->getHeaders()->get('GmailToken')->getValue();
|
$token = $message->getHeaders()->get('GmailToken')->getValue();
|
||||||
|
|
||||||
|
@ -165,13 +165,13 @@ class PostMarkController extends BaseController
|
|||||||
$this->invitation->email_status = 'bounced';
|
$this->invitation->email_status = 'bounced';
|
||||||
$this->invitation->save();
|
$this->invitation->save();
|
||||||
|
|
||||||
$bounce = new EmailBounce(
|
// $bounce = new EmailBounce(
|
||||||
$request->input('Tag'),
|
// $request->input('Tag'),
|
||||||
$request->input('From'),
|
// $request->input('From'),
|
||||||
$request->input('MessageID')
|
// $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);
|
SystemLogger::dispatch($request->all(), SystemLog::CATEGORY_MAIL, SystemLog::EVENT_MAIL_BOUNCED, SystemLog::TYPE_WEBHOOK_RESPONSE, $this->invitation->contact->client, $this->invitation->company);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user