[ Index ] |
PHP Cross Reference of phpwcms V1.4.3 _r380 (23.11.09) |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 1612 lines (51 kb) |
Included or required: | 7 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
PHPMailer:: (53 methods):
IsHTML()
IsSMTP()
IsMail()
IsSendmail()
IsQmail()
AddAddress()
AddCC()
AddBCC()
AddReplyTo()
Send()
SendmailSend()
MailSend()
SmtpSend()
SmtpConnect()
SmtpClose()
SetLanguage()
AddrAppend()
AddrFormat()
WrapText()
UTF8CharBoundary()
SetWordWrap()
CreateHeader()
CreateBody()
GetBoundary()
EndBoundary()
SetMessageType()
HeaderLine()
TextLine()
AddAttachment()
AttachAll()
EncodeFile()
EncodeString()
EncodeHeader()
EncodeQP()
EncodeQ()
AddStringAttachment()
AddEmbeddedImage()
InlineImageExists()
ClearAddresses()
ClearCCs()
ClearBCCs()
ClearReplyTos()
ClearAllRecipients()
ClearAttachments()
ClearCustomHeaders()
SetError()
RFCDate()
ServerVar()
ServerHostname()
Lang()
IsError()
FixEOL()
AddCustomHeader()
IsHTML($bool) X-Ref |
Sets message type to HTML. param: bool $bool return: void |
IsSMTP() X-Ref |
Sets Mailer to send message using SMTP. return: void |
IsMail() X-Ref |
Sets Mailer to send message using PHP mail() function. return: void |
IsSendmail() X-Ref |
Sets Mailer to send message using the $Sendmail program. return: void |
IsQmail() X-Ref |
Sets Mailer to send message using the qmail MTA. return: void |
AddAddress($address, $name = '') X-Ref |
Adds a "To" address. param: string $address param: string $name return: void |
AddCC($address, $name = '') X-Ref |
Adds a "Cc" address. Note: this function works with the SMTP mailer on win32, not with the "mail" mailer. param: string $address param: string $name return: void |
AddBCC($address, $name = '') X-Ref |
Adds a "Bcc" address. Note: this function works with the SMTP mailer on win32, not with the "mail" mailer. param: string $address param: string $name return: void |
AddReplyTo($address, $name = '') X-Ref |
Adds a "Reply-to" address. param: string $address param: string $name return: void |
Send() X-Ref |
Creates message and assigns Mailer. If the message is not sent successfully then it returns false. Use the ErrorInfo variable to view description of the error. return: bool |
SendmailSend($header, $body) X-Ref |
Sends mail using the $Sendmail program. return: bool |
MailSend($header, $body) X-Ref |
Sends mail using the PHP mail() function. return: bool |
SmtpSend($header, $body) X-Ref |
Sends mail via SMTP using PhpSMTP (Author: Chris Ryan). Returns bool. Returns false if there is a bad MAIL FROM, RCPT, or DATA input. return: bool |
SmtpConnect() X-Ref |
Initiates a connection to an SMTP server. Returns false if the operation failed. return: bool |
SmtpClose() X-Ref |
Closes the active SMTP session if one exists. return: void |
SetLanguage($lang_type, $lang_path = '') X-Ref |
Sets the language for all class error messages. Returns false if it cannot load the language file. The default language type is English. param: string $lang_type Type of language (e.g. Portuguese: "br") param: string $lang_path Path to the language file directory param: string $default_lang_path Default path to the language file directory return: bool |
AddrAppend($type, $addr) X-Ref |
Creates recipient headers. return: string |
AddrFormat($addr) X-Ref |
Formats an address correctly. return: string |
WrapText($message, $length, $qp_mode = false) X-Ref |
Wraps message for use with mailers that do not automatically perform wrapping and for quoted-printable. Original written by philippe. return: string |
UTF8CharBoundary($encodedText, $maxLength) X-Ref |
Finds last character boundary prior to $maxLength in a utf-8 Quoted (Printable) Encoded string $encodedText Original written by Colin Brown. param: string $encodedText utf8 QP text param: integer $maxLength finds last character boundary prior to this length return: integer |
SetWordWrap() X-Ref |
Set the body wrapping. return: void |
CreateHeader() X-Ref |
Assembles message header. return: string |
CreateBody() X-Ref |
Assembles the message body. Returns an empty string on failure. return: string |
GetBoundary($boundary, $charSet, $contentType, $encoding) X-Ref |
Returns the start of a message boundary. |
EndBoundary($boundary) X-Ref |
Returns the end of a message boundary. |
SetMessageType() X-Ref |
Sets the message type. return: void |
HeaderLine($name, $value) X-Ref |
Returns a formatted header line. return: string |
TextLine($value) X-Ref |
Returns a formatted mail line. return: string |
AddAttachment($path, $name = '', $encoding = 'base64', $type = 'application/octet-stream') X-Ref |
Adds an attachment from a path on the filesystem. Returns false if the file could not be found or accessed. param: string $path Path to the attachment. param: string $name Overrides the attachment name. param: string $encoding File encoding (see $Encoding). param: string $type File extension (MIME) type. return: bool |
AttachAll() X-Ref |
Attaches all fs, string, and binary attachments to the message. Returns an empty string on failure. return: string |
EncodeFile($path, $encoding = 'base64') X-Ref |
Encodes attachment in requested format. Returns an empty string on failure. return: string |
EncodeString($str, $encoding = 'base64') X-Ref |
Encodes string to requested format. Returns an empty string on failure. return: string |
EncodeHeader($str, $position = 'text') X-Ref |
Encode a header string to best of Q, B, quoted or none. return: string |
EncodeQP($str) X-Ref |
Encode string to quoted-printable. return: string |
EncodeQ($str, $position = 'text') X-Ref |
Encode string to q encoding. return: string |
AddStringAttachment($string, $filename, $encoding = 'base64', $type = 'application/octet-stream') X-Ref |
Adds a string or binary attachment (non-filesystem) to the list. This method can be used to attach ascii or binary data, such as a BLOB record from a database. param: string $string String attachment data. param: string $filename Name of the attachment. param: string $encoding File encoding (see $Encoding). param: string $type File extension (MIME) type. return: void |
AddEmbeddedImage($path, $cid, $name = '', $encoding = 'base64', $type = 'application/octet-stream') X-Ref |
Adds an embedded attachment. This can include images, sounds, and just about any other document. Make sure to set the $type to an image type. For JPEG images use "image/jpeg" and for GIF images use "image/gif". param: string $path Path to the attachment. param: string $cid Content ID of the attachment. Use this to identify param: string $name Overrides the attachment name. param: string $encoding File encoding (see $Encoding). param: string $type File extension (MIME) type. return: bool |
InlineImageExists() X-Ref |
Returns true if an inline attachment is present. return: bool |
ClearAddresses() X-Ref |
Clears all recipients assigned in the TO array. Returns void. return: void |
ClearCCs() X-Ref |
Clears all recipients assigned in the CC array. Returns void. return: void |
ClearBCCs() X-Ref |
Clears all recipients assigned in the BCC array. Returns void. return: void |
ClearReplyTos() X-Ref |
Clears all recipients assigned in the ReplyTo array. Returns void. return: void |
ClearAllRecipients() X-Ref |
Clears all recipients assigned in the TO, CC and BCC array. Returns void. return: void |
ClearAttachments() X-Ref |
Clears all previously set filesystem, string, and binary attachments. Returns void. return: void |
ClearCustomHeaders() X-Ref |
Clears all custom headers. Returns void. return: void |
SetError($msg) X-Ref |
Adds the error message to the error container. Returns void. return: void |
RFCDate() X-Ref |
Returns the proper RFC 822 formatted date. return: string |
ServerVar($varName) X-Ref |
Returns the appropriate server variable. Should work with both PHP 4.1.0+ as well as older versions. Returns an empty string if nothing is found. return: mixed |
ServerHostname() X-Ref |
Returns the server hostname or 'localhost.localdomain' if unknown. return: string |
Lang($key) X-Ref |
Returns a message in the appropriate language. return: string |
IsError() X-Ref |
Returns true if an error occurred. return: bool |
FixEOL($str) X-Ref |
Changes every end of line from CR or LF to CRLF. return: string |
AddCustomHeader($custom_header) X-Ref |
Adds a custom header. return: void |
Generated: Wed Dec 30 05:55:15 2009 | Cross-referenced by PHPXref 0.7 |