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
Pre Process Form Addresses to be used in Quickform
Form rule.
Save the template if update selected.
Bounce if there are more emails than permitted.
Details
at line 50
static array
domainEmails()
deprecated
deprecated Generate an array of Domain email addresses.
at line 60
static
preProcessFromAddress(CRM_Core_Form $form, bool $bounce = TRUE)
Pre Process Form Addresses to be used in Quickform
at line 116
static
buildQuickForm(CRM_Core_Form $form)
Build the form object.
at line 357
static bool|array
formRule(array $fields, array $dontCare, array $self)
Form rule.
at line 380
static
postProcess(CRM_Core_Form $form)
Process the form after the input has been submitted and validated.
at line 396
static
submit(CRM_Core_Form $form, array $formValues)
Submit the form values.
This is also accessible for testing.
at line 575
static protected
saveMessageTemplate(array $formValues)
Save the template if update selected.
at line 603
static
bounceIfSimpleMailLimitExceeded(int $count)
Bounce if there are more emails than permitted.