All Data Structures Functions Variables Pages
Static Public Member Functions
ArchivedEmailMatchingUtil Class Reference

Static Public Member Functions

static renderEmailMessageToMatchContent (EmailMessage $emailMessage, $user)
 
static resolveEmailAddressAndNameToContact (EmailMessage $emailMessage, $contact)
 
static resolveEmailAddressToContactIfEmailRelationAvailable (EmailMessage $emailMessage, $contact)
 
static resolveContactToSenderOrRecipient (EmailMessage $emailMessage, $contact)
 
static resolveFullNameToFirstAndLastName ($name, $contact)
 

Detailed Description

Helper class to work matching of archived emails

Definition at line 40 of file ArchivedEmailMatchingUtil.php.

Member Function Documentation

static renderEmailMessageToMatchContent ( EmailMessage  $emailMessage,
  $user 
)
static
Returns
string content
Parameters
EmailMessageobject $emailMessage
Userobject $user

Definition at line 47 of file ArchivedEmailMatchingUtil.php.

static resolveEmailAddressAndNameToContact ( EmailMessage  $emailMessage,
  $contact 
)
static
Parameters
EmailMessageobject $emailMessage
Userobject $user

Definition at line 97 of file ArchivedEmailMatchingUtil.php.

static resolveEmailAddressToContactIfEmailRelationAvailable ( EmailMessage  $emailMessage,
  $contact 
)
static
Parameters
EmailMessageobject $emailMessage
Userobject $user

Definition at line 122 of file ArchivedEmailMatchingUtil.php.

static resolveContactToSenderOrRecipient ( EmailMessage  $emailMessage,
  $contact 
)
static
Parameters
EmailMessageobject $emailMessage
Userobject $user

Definition at line 169 of file ArchivedEmailMatchingUtil.php.

static resolveFullNameToFirstAndLastName (   $name,
  $contact 
)
static

Resolves full name with space in the middle to first and last name Removes excess white-space and cleans surrounding quotes left over from imap

Parameters
Fullname of a person/contact $name
Contactobject $contact

Definition at line 196 of file ArchivedEmailMatchingUtil.php.


The documentation for this class was generated from the following file:
Generated on Thu Jan 23 2020 07:10:26