Метод |
Описание |
|
anti_abuse_headers ( array $config, user $user ) : null |
Adds X-AntiAbuse headers |
|
assign_block_vars ( $blockname, $vars ) |
|
|
assign_vars ( $vars ) |
assign variables to email template |
|
bcc ( $address, $realname = '' ) |
Sets an bcc address to send to |
|
build_header ( $to, $cc, $bcc ) |
Return email header |
|
cc ( $address, $realname = '' ) |
Sets an cc address to send to |
|
error ( $type, $msg ) |
Add error message to log |
|
from ( $address ) |
Set the from address |
|
generate_message_id ( ) : string |
Generates a valid message id to be used in emails |
|
headers ( $headers ) |
set up extra mail headers |
|
im ( $address, $realname = '' ) |
Sets a im contact to send to |
|
messenger ( $use_queue = true ) |
Constructor |
|
msg_email ( ) |
Send out emails |
|
msg_jabber ( ) |
Send jabber message out |
|
replyto ( $address ) |
Set the reply to address |
|
reset ( ) |
Resets all the data (address, template file, etc etc) to default |
|
save_queue ( ) |
Save to queue |
|
send ( $method = NOTIFY_EMAIL, $break = false ) |
Send the mail out to the recipients set previously in var $this->addresses |
|
set_addresses ( array $user ) |
Set addresses for to/im as available |
|
set_mail_priority ( $priority = MAIL_NORMAL_PRIORITY ) |
Set the email priority |
|
subject ( $subject = '' ) |
set up subject for mail |
|
template ( $template_file, $template_lang = '', $template_path = '', $template_dir_prefix = '' ) |
Set email template to use |
|
to ( $address, $realname = '' ) |
Sets an email address to send to |
|