Public Member Functions | |
__construct (\Action &$action, $msg) | |
reset (\Action &$action, $msg) | |
expand ($str) | |
autosend () | |
prefixize ($prefix, $msg) | |
send ($from, $mailto, $subject, $htmlBody, $altTextBody= '', $attachments=array()) | |
addExpand ($expand=array()) | |
Data Fields | |
$expand = array() | |
$action = null | |
$msg = '' | |
$from = '' | |
$mailto = '' | |
$subject = '' | |
$prefix = false | |
Definition at line 4 of file Class.Dcp_WSHMailError.php.
__construct | ( | \Action & | $action, |
$msg | |||
) |
WSHError constructor.
\Action | $action | |
$msg |
Definition at line 21 of file Class.Dcp_WSHMailError.php.
addExpand | ( | $expand = array() | ) |
string[] | $expand |
Definition at line 172 of file Class.Dcp_WSHMailError.php.
autosend | ( | ) |
Definition at line 76 of file Class.Dcp_WSHMailError.php.
expand | ( | $str | ) |
prefixize | ( | $prefix, | |
$msg | |||
) |
Add a prefix at beginning of each lines
string | $prefix | |
string | $msg |
Definition at line 114 of file Class.Dcp_WSHMailError.php.
reset | ( | \Action & | $action, |
$msg | |||
) |
\Action | $action | |
$msg |
Definition at line 29 of file Class.Dcp_WSHMailError.php.
send | ( | $from, | |
$mailto, | |||
$subject, | |||
$htmlBody, | |||
$altTextBody = '' , |
|||
$attachments = array() |
|||
) |
string | $from | Sender's email address (e.g. 'john.') doe@ examp le.n et |
string|string[] | $mailto Recipient(s) address(es) as a comma-separated list of mail addresses, or and array og mail addresses | |
string | $subject | Subject |
string | $htmlBody | The main body in HTML format |
string | $altTextBody | Optional text variant of the main HTML body |
array[] | $attachments Optional attachments (e.g. array( array('file' => '/path/to/att.dat', 'name' => 'icon.png', 'mime' => 'image/png' [, 'cid' => 'CIDidentifier'] ), [...] ))) |
Definition at line 127 of file Class.Dcp_WSHMailError.php.
$action = null |
Definition at line 10 of file Class.Dcp_WSHMailError.php.
$expand = array() |
Definition at line 6 of file Class.Dcp_WSHMailError.php.
$from = '' |
Definition at line 12 of file Class.Dcp_WSHMailError.php.
$mailto = '' |
Definition at line 13 of file Class.Dcp_WSHMailError.php.
$msg = '' |
Definition at line 11 of file Class.Dcp_WSHMailError.php.
$prefix = false |
Definition at line 15 of file Class.Dcp_WSHMailError.php.
$subject = '' |
Definition at line 14 of file Class.Dcp_WSHMailError.php.