| [ Index ] |
|
Code source de eGroupWare 1.2.106-2 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 1559 lignes (47 kb) |
| Inclus ou requis: | 1 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
PHPMailer:: (55 méthodes):
IsHTML()
IsSMTP()
IsMail()
IsSendmail()
IsQmail()
AddAddress()
AddCC()
AddBCC()
AddReplyTo()
getMessageBody()
getMessageHeader()
Send()
SendmailSend()
MailSend()
SmtpSend()
SmtpConnect()
SmtpClose()
SetLanguage()
AddrAppend()
AddrFormat()
WrapText()
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()
Received()
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 |
| getMessageBody() X-Ref |
| Pas de description |
| getMessageHeader() X-Ref |
| Pas de description |
| 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 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 |
| 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 |
| Received() X-Ref |
| Returns Received header for message tracing. 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 |
| Généré le : Sun Feb 25 17:20:01 2007 | par Balluche grâce à PHPXref 0.7 |