Property | Type | Description | |
---|---|---|---|
$_altbody | |||
$_attachments | |||
$_body | |||
$_charset | |||
$_demonstration | counter for mails sent sucessfully. | ||
$_exchanger | |||
$_frombounce | |||
$_fromemail | |||
$_fromname | |||
$_personalize | |||
$_sentCount | .. currently mail or sendmail are used TODO add smtp | ||
$_subject | |||
$_validated | |||
$logger | . this is used for bulk mailing |
Method | Description | |
---|---|---|
GetMessageSize ( ) | returns the size (in bytes) of the last sent message | |
Pommo_Mailer ( $fromname = NULL, $fromemail = NULL, $frombounce = NULL, $exchanger = NULL, $demonstration = NULL, $charset = NULL, $personalize = FALSE ) | If an argument is not supplied, resorts to default value (from setup/config.php). | |
bmSendmail ( &$to, $subscriber = FALSE ) | * bmSendmail ** SEND MAIL FUNCTION --> pass an array of senders, or a single email address for single mode TODO rename function send in order to not confuse w/ PHPMailer's Send()? | |
prepareMail ( $subject = NULL, $body = NULL, $HTML = FALSE, $altbody = NULL, $attachments = NULL ) | * prepareMail Sets up the mail message. | |
setRelay ( &$smtp ) | sets the SMTP relay for this mailer | |
toggleDemoMode ( $val = NULL ) | toggles demonstration mode on or off if sepcified, or else uses the configured mode. Returns value. | |
trackMessageSize ( $bool = TRUE ) | enable to track size (in bytes) of sent messages. | |
validate ( ) | Gets called before sending a mail to make sure all is proper (during prepareMail). Returns false if messages were created must pass global poMMo object (TODO maybe rename to site??) |
public GetMessageSize ( ) |
public Pommo_Mailer ( $fromname = NULL, $fromemail = NULL, $frombounce = NULL, $exchanger = NULL, $demonstration = NULL, $charset = NULL, $personalize = FALSE ) |
public bmSendmail ( &$to, $subscriber = FALSE ) | ||
$subscriber |
public prepareMail ( $subject = NULL, $body = NULL, $HTML = FALSE, $altbody = NULL, $attachments = NULL ) | ||
$subject | ||
$body | ||
$altbody | ||
$attachments |
public toggleDemoMode ( $val = NULL ) |
public trackMessageSize ( $bool = TRUE ) |
public validate ( ) |
public $_sentCount |