mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
commit
7ec71d886d
@ -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…
x
Reference in New Issue
Block a user