SendTestEmailUtil Class Reference

Inheritance diagram for SendTestEmailUtil:
CampaignSendTestEmailUtil EmailTemplateSendTestEmailUtil

Public Member Functions

 sendTestEmail (array $recipientData, array $sourceData)

Data Fields

const LANGUAGE_DEFAULT = null
const SUPPORTS_RICH_TEXT_DEFAULT = true
const PREFER_SERIALIZED_DATA_OVER_HTML_CONTENT = true
const PREVIEW_MODE = true
const ENABLE_TRACKING_DEFAULT = false
const TEMPLATE_TYPE_DEFAULT = EmailTemplate::TYPE_WORKFLOW
const ERROR_ON_FIRST_MISSING_MERGE_TAG = MergeTagsToModelAttributesAdapter::SUPPRESS_INVALID_TAG_ERRORS_KEEP_TAG
const ADD_GLOBAL_FOOTER_DEFAULT = MergeTagsContentResolverUtil::ADD_GLOBAL_FOOTER_MERGE_TAGS_IF_MISSING

Protected Member Functions

 resolveRecipientEmailByPostRecipientDataAndUserOrContact (array $recipientData, Item $userOrContact)
 resolveRecipientEmailByPostRecipientData (array $recipientData)
 resolveRecipientEmailByUserOrContact (Item $userOrContact)
 resolveContactByPostRecipientDataOrResolveCurrentUser (array $recipientData)
 resolveContactByPostRecipientData (array $recipientData)
 resolveEmailDataByPostSourceDataAttributesOrReferredModel (array $sourceData, Item $userOrContact, $recipientEmail)
 resolveSourceModelByPostSourceDataAttributes ($id, $className, $skipSecurityCheck=false)
 resolveDefaultsForMissingEmailData (array &$emailData)
 resolveEmailDataByModel (array &$emailData, OwnedSecurableItem $sourceModel)
 resolveEmailDataByPostSourceDataAttributes (array &$emailData, array $sourceData)
 resolveArrayByKeyToResolverFunctionNameMapping (array &$data, array $mapping, $resolverFunctionParameter)
 resolveSubjectByModel (OwnedSecurableItem $model)
 resolveSubjectByPostSourceData (array $sourceData)
 resolveOwnerByModel (OwnedSecurableItem $model)
 resolveOwnerByPostSourceData (array $sourceData)
 resolveDefaultOwner ()
 resolvePermissionsByModel (OwnedSecurableItem $model)
 resolvePermissionsByPostSourceData (array $sourceData)
 resolveSenderByModel (OwnedSecurableItem $model)
 resolveSenderByPostSourceData (array $sourceData)
 resolveAttachmentsByModel (OwnedSecurableItem $model)
 resolveAttachmentsByPostSourceData (array $sourceData)
 resolveContentByModel (OwnedSecurableItem $model)
 resolveContentByPostSourceData (array $sourceData)
 resolveEnableTrackingByModel (OwnedSecurableItem $model)
 resolveEnableTrackingByPostSourceData (array $sourceData)
 resolveSupportsRichTextByModel (OwnedSecurableItem $model)
 resolveSupportsRichTextByPostSourceData ($sourceData)
 resolveTypeByModel (OwnedSecurableItem $model)
 resolveTypeByPostSourceData (array $sourceData)
 resolveLanguageByModel (OwnedSecurableItem $model)
 resolveLanguageByPostSourceData (array $sourceData)
 resolveMarketingListIdByModel (OwnedSecurableItem $model)
 resolveMarketingListIdByPostSourceData ($sourceData)
 resolveAndSendEmailMessageByPostSourceDataAndUserOrContact (array $emailData, Item $userOrContact)
 resolveRecipient (Item $userOrContact, $recipientEmail)
 resolveFolder ()
 resolveDefaultSender ()
 resolveSenderByNameAndEmailAddress ($fromName, $fromAddress)
 resolveAttachmentsForEmailMessage (EmailMessage &$emailMessage, $attachments)
 disableTrackingForTestEmails ($emailData)

Detailed Description

Definition at line 37 of file SendTestEmailUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Sep 22 07:11:09 2019