Class EmailDeliveryBehavior
Email delivery methods.
- CComponent
- CBehavior implements IBehavior
- EmailDeliveryBehavior
Direct known subclasses
CampaignMailingBehavior
Package: application\components
Author: Demitri Morgan <demitri@x2engine.com>
Located at x2engine/protected/components/EmailDeliveryBehavior.php
Author: Demitri Morgan <demitri@x2engine.com>
Located at x2engine/protected/components/EmailDeliveryBehavior.php
public static
|
#
addressHeaderToArray( type $header, mixed $ignoreInvalidAddresses = false )
Parses a To, CC, or BCC header into an array compatible with PHPMailer. |
public
|
|
public
true
|
|
public
array
|
#
deliverEmail( array $addresses, mixed $subject, mixed $message, mixed $attachments = array(), mixed $unsubLink = null )
Perform the email delivery with PHPMailer. |
public
|
|
public
|
|
public
|
|
public
|
|
public
array
|
|
public
PHPMailer
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
attach(),
detach(),
events(),
getEnabled(),
getOwner(),
setEnabled()
|
__call(),
__get(),
__isset(),
__set(),
__unset(),
asa(),
attachBehavior(),
attachBehaviors(),
attachEventHandler(),
canGetProperty(),
canSetProperty(),
detachBehavior(),
detachBehaviors(),
detachEventHandler(),
disableBehavior(),
disableBehaviors(),
enableBehavior(),
enableBehaviors(),
evaluateExpression(),
getEventHandlers(),
hasEvent(),
hasEventHandler(),
hasProperty(),
raiseEvent()
|
public
array
|
$status | array() |
#
Status codes |
public
|
$credentials |
#
(read-only) The SMTP account to use for delivery, if applicable. |
public
array
|
$from |
#
The sender of the email. |
public
PHPMailer
|
$mailer |
#
PHPMailer instance |
public
|
$userProfile |
#
Profile, i.e. for email sender and signature |
$enabled,
$owner
|