CRM_Contact_Form_Task_EmailCommon
class CRM_Contact_Form_Task_EmailCommon
This class provides the common functionality for sending email to one or a group of contact ids. This class is reused by all the search components in CiviCRM (since they all have send email as a task)
Constants
MAX_EMAILS_KILL_SWITCH |
|
Properties
$_contactDetails | |||
$_allContactDetails | |||
$_toContactEmails |
Methods
static array
domainEmails()
Generate an array of Domain email addresses.
static
preProcessFromAddress(CRM_Core_Form $form, bool $bounce = TRUE)
Pre Process Form Addresses to be used in QUickfomr
static
static bool|array
formRule(array $fields, array $dontCare, array $self)
Form rule.
static
static
static
saveMessageTemplate(array $formValues)
Save the template if update selected.
Details
at line 50
static array
domainEmails()
Generate an array of Domain email addresses.
at line 65
static
preProcessFromAddress(CRM_Core_Form $form, bool $bounce = TRUE)
Pre Process Form Addresses to be used in QUickfomr
at line 148
static
buildQuickForm(CRM_Core_Form $form)
Build the form object.
at line 388
static bool|array
formRule(array $fields, array $dontCare, array $self)
Form rule.
at line 411
static
postProcess(CRM_Core_Form $form)
Process the form after the input has been submitted and validated.
at line 431
static
submit(CRM_Core_Form $form, array $formValues)
Submit the form values.
This is also accessible for testing.
at line 607
static protected
saveMessageTemplate(array $formValues)
Save the template if update selected.