Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

SendGridEmailEventsJob Class Reference

Inheritance diagram for SendGridEmailEventsJob:
BaseJob SendGridTestEmailEventsJob

Public Member Functions

 run ()
 resolveMarkingPersonPrimaryEmailAsInvalid ($type, $zurmoPersonId)

Static Public Member Functions

static getDisplayName ()
static getType ()
static getRecommendedRunFrequencyContent ()

Protected Member Functions

 processEventData ($eventWebhookFilePath)
 saveExternalApiEmailMessageActivity (EmailMessageActivity $emailMessageActivity, $value)
 resolveFileContent ($eventWebhookFilePath)
 getActivityTypeByEvent ($value)
 processActivityInformation ($value)

Static Protected Member Functions

static resolveAndUpdateEventInformationByStatus (&$value)

Detailed Description

A job for processing email activities performed on the email send using sendgrid.

See also:
https://github.com/michaelp85/TS-SendGrid-Event-Webhook-Notifier/blob/master/mod.ts_sendgrid_event_webhook_notifier.php

Definition at line 41 of file SendGridEmailEventsJob.php.


Member Function Documentation

static getDisplayName (  )  [static]
Returns:
Translated label that describes this job type.

Reimplemented from BaseJob.

Definition at line 46 of file SendGridEmailEventsJob.php.

static getType (  )  [static]
Returns:
The type of the NotificationRules

Reimplemented from BaseJob.

Reimplemented in SendGridTestEmailEventsJob.

Definition at line 54 of file SendGridEmailEventsJob.php.

static getRecommendedRunFrequencyContent (  )  [static]
Returns:
string content specifying how often this job should be run as a scheduled task.

Reimplemented from BaseJob.

Definition at line 59 of file SendGridEmailEventsJob.php.

run (  ) 

(non-PHPdoc)

See also:
BaseJob::run()

Reimplemented from BaseJob.

Reimplemented in SendGridTestEmailEventsJob.

Definition at line 68 of file SendGridEmailEventsJob.php.

static resolveAndUpdateEventInformationByStatus ( &$  value  )  [static, protected]

Resolve and update event information by status of the message.

Parameters:
array $value

Definition at line 97 of file SendGridEmailEventsJob.php.

processEventData ( eventWebhookFilePath  )  [protected]

Process event data.

Parameters:
string $eventWebhookFilePath
Returns:
void

Definition at line 134 of file SendGridEmailEventsJob.php.

saveExternalApiEmailMessageActivity ( EmailMessageActivity emailMessageActivity,
value 
) [protected]

Save external api email message activity.

Parameters:
EmailMessageActivity $emailMessageActivity
array $value

Definition at line 164 of file SendGridEmailEventsJob.php.

resolveFileContent ( eventWebhookFilePath  )  [protected]

Resolve file content.

Parameters:
string $eventWebhookFilePath
Returns:
string

Definition at line 182 of file SendGridEmailEventsJob.php.

getActivityTypeByEvent ( value  )  [protected]

Get activity type by event.

Parameters:
array $value
Returns:
string

Definition at line 192 of file SendGridEmailEventsJob.php.

processActivityInformation ( value  )  [protected]

Process actiity information.

Parameters:
array $value

Reimplemented in SendGridTestEmailEventsJob.

Definition at line 209 of file SendGridEmailEventsJob.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Fri Apr 19 07:11:02 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8