[ Index ] |
PHP Cross Reference of phpBB 3.0 Beta 3 |
[Source view] [Print]
(no description)
Copyright: | (c) 2005 phpBB Group |
License: | http://opensource.org/licenses/gpl-license.php GNU Public License |
Version: | $Id: functions_messenger.php,v 1.66 2006/11/12 18:44:42 acydburn Exp $ |
File Size: | 1400 lines (36 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
messenger:: (19 methods):
messenger()
reset()
to()
cc()
bcc()
im()
replyto()
from()
subject()
headers()
set_mail_priority()
template()
assign_vars()
send()
error()
save_queue()
build_header()
msg_email()
msg_jabber()
queue:: (7 methods):
queue()
init()
put()
process()
save()
format_array()
smtpmail()
smtp_class:: (12 methods):
smtp_class()
add_backtrace()
server_send()
server_parse()
close_session()
log_into_server()
pop_before_smtp()
plain()
login()
cram_md5()
digest_md5()
mail_encode()
messenger($use_queue = true) X-Ref |
Constructor |
reset() X-Ref |
Resets all the data (address, template file, etc etc) to default |
to($address, $realname = '') X-Ref |
Sets an email address to send to |
cc($address, $realname = '') X-Ref |
Sets an cc address to send to |
bcc($address, $realname = '') X-Ref |
Sets an bcc address to send to |
im($address, $realname = '') X-Ref |
Sets a im contact to send to |
replyto($address) X-Ref |
Set the reply to address |
from($address) X-Ref |
Set the from address |
subject($subject = '') X-Ref |
set up subject for mail |
headers($headers) X-Ref |
set up extra mail headers |
set_mail_priority($priority = MAIL_NORMAL_PRIORITY) X-Ref |
Set the email priority |
template($template_file, $template_lang = '') X-Ref |
Set email template to use |
assign_vars($vars) X-Ref |
assign variables to email template |
send($method = NOTIFY_EMAIL, $break = false) X-Ref |
Send the mail out to the recipients set previously in var $this->addresses |
error($type, $msg) X-Ref |
Add error message to log |
save_queue() X-Ref |
Save to queue |
build_header($to, $cc, $bcc) X-Ref |
Return email header |
msg_email() X-Ref |
Send out emails |
msg_jabber() X-Ref |
Send jabber message out |
queue() X-Ref |
constructor |
init($object, $package_size) X-Ref |
Init a queue object |
put($object, $scope) X-Ref |
Put object in queue |
process() X-Ref |
Process queue Using lock file |
save() X-Ref |
Save queue |
format_array($array) X-Ref |
Format array |
smtpmail($addresses, $subject, $message, &$err_msg, $headers = '') X-Ref |
Replacement or substitute for PHP's mail command |
Class: smtp_class - X-Ref
SMTP Classsmtp_class() X-Ref |
No description |
add_backtrace($message) X-Ref |
Add backtrace message for debugging |
server_send($command, $private_info = false) X-Ref |
Send command to smtp server |
server_parse($response, $line) X-Ref |
We use the line to give the support people an indication at which command the error occurred |
close_session(&$err_msg) X-Ref |
Close session |
log_into_server($hostname, $username, $password, $default_auth_method) X-Ref |
Log into server and get possible auth codes if neccessary |
pop_before_smtp($hostname, $username, $password) X-Ref |
Pop before smtp authentication |
plain($username, $password) X-Ref |
Plain authentication method |
login($username, $password) X-Ref |
Login authentication method |
cram_md5($username, $password) X-Ref |
cram_md5 authentication method |
digest_md5($username, $password) X-Ref |
digest_md5 authentication method A real pain in the *** |
mail_encode($str) X-Ref |
Encodes the given string for proper display in UTF-8 ... nabbed from php.net and modified. There is an alternative encoding method which may produce less output but it's questionable as to its worth in this scenario. This version is using base64 encoded data. The downside of this is if the mail client does not understand this encoding the user is basically doomed with an unreadable subject. |
Generated: Wed Nov 22 00:35:05 2006 | Cross-referenced by PHPXref 0.6 |