PHPMailerPHPMailer - PHP email transport class
Located in /includes/classes/phpmailer/class.phpmailer.php (line 29)
bool
AddAttachment
(string $path, [string $name = ""], [string $encoding = "base64"], [string $type = "application/octet-stream"])
bool
AddEmbeddedImage
(string $path, string $cid, [string $name = ""], [string $encoding = "base64"], [string $type = "application/octet-stream"])
void
AddStringAttachment
(string $string, string $filename, [string $encoding = "base64"], [string $type = "application/octet-stream"])
string
$AltBody
= "" (line 105)
Sets the text-only body of the message. This automatically sets the email to multipart/alternative. This body can be read by mail clients that do not have HTML email capability such as mutt. Clients that can read HTML will view the normal Body.
string
$Body
= "" (line 96)
Sets the Body of the message. This can be either an HTML or text body.
If HTML then run IsHTML(true).
string
$CharSet
= "iso-8859-1" (line 45)
Sets the CharSet of the message.
string
$ConfirmReadingTo
= "" (line 143)
Sets the email address that a reading confirmation will be sent.
string
$ContentType
= "text/plain" (line 51)
Sets the Content-type of the message.
string
$Encoding
= "8bit" (line 58)
Sets the Encoding of the message. Options for this are "8bit", "7bit", "binary", "base64", and "quoted-printable".
string
$ErrorInfo
= "" (line 64)
Holds the most recent mailer error message.
string
$From
= "root@localhost" (line 70)
Sets the From email address for the message.
string
$FromName
= "Root User" (line 76)
Sets the From name of the message.
string
$Helo
= "" (line 177)
Sets the SMTP HELO of the message (Default is $Hostname).
string
$Host
= "localhost" (line 165)
Sets the SMTP hosts. All hosts must be separated by a semicolon. You can also specify a different port for each host by using this format: [hostname:port] (e.g. "smtp1.example.com:25;smtp2.example.com").
Hosts will be tried in order.
string
$Hostname
= "" (line 151)
Sets the hostname to use in Message-Id and Received headers and as default HELO string. If empty, the value returned by SERVER_NAME is used or 'localhost.localdomain'.
string
$Mailer
= "mail" (line 118)
Method to send mail: ("mail", "sendmail", or "smtp").
string
$Password
= "" (line 195)
Sets SMTP password.
string
$PluginDir
= "" (line 131)
Path to PHPMailer plugins. This is now only useful if the SMTP class is in a different directory than the PHP include path.
int
$Port
= 25 (line 171)
Sets the default SMTP server port.
int
$Priority
= 5 (line 39)
Email priority (1..3 = High, 4..6 = Normal, 7..9 = low).
string
$Sender
= "" (line 83)
Sets the Sender email (Return-Path) of the message. If not empty, will be sent via -f to sendmail or as 'MAIL FROM' in smtp mode.
string
$Sendmail
= "/usr/sbin/sendmail" (line 124)
Sets the path of the sendmail program.
bool
$SMTPAuth
= false (line 183)
Sets SMTP authentication. Utilizes the Username and Password variables.
bool
$SMTPDebug
= false (line 208)
Sets SMTP class debugging on or off.
bool
$SMTPKeepAlive
= false (line 216)
Prevents the SMTP connection from being closed after each mail sending. If this is set to true then to close the connection requires an explicit call to SmtpClose ().
string
$Subject
= "" (line 89)
Sets the Subject of the message.
int
$Timeout
= 10 (line 202)
Sets the SMTP server timeout in seconds. This function will not work with the win32 version.
string
$Username
= "" (line 189)
Sets SMTP username.
string
$Version
= "1.73" (line 137)
Holds PHPMailer version.
int
$WordWrap
= 0 (line 112)
Sets word wrapping on the body of the message to a given number of characters.
AddAddress (line 295)
Adds a "To" address.
AddAttachment (line 1005)
Adds an attachment from a path on the filesystem.
Returns false if the file could not be found or accessed.
AddBCC (line 323)
Adds a "Bcc" address. Note: this function works with the SMTP mailer on win32, not with the "mail" mailer.
AddCC (line 309)
Adds a "Cc" address. Note: this function works with the SMTP mailer on win32, not with the "mail" mailer.
AddCustomHeader (line 1509)
Adds a custom header.
AddEmbeddedImage (line 1289)
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".
AddReplyTo (line 335)
Adds a "Reply-to" address.
AddStringAttachment (line 1262)
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.
ClearAddresses (line 1343)
Clears all recipients assigned in the TO array. Returns void.
ClearAllRecipients (line 1376)
Clears all recipients assigned in the TO, CC and BCC array. Returns void.
ClearAttachments (line 1387)
Clears all previously set filesystem, string, and binary attachments. Returns void.
ClearBCCs (line 1359)
Clears all recipients assigned in the BCC array. Returns void.
ClearCCs (line 1351)
Clears all recipients assigned in the CC array. Returns void.
ClearCustomHeaders (line 1395)
Clears all custom headers. Returns void.
ClearReplyTos (line 1367)
Clears all recipients assigned in the ReplyTo array. Returns void.
IsError (line 1489)
Returns true if an error occurred.
IsHTML (line 244)
Sets message type to HTML.
IsMail (line 263)
Sets Mailer to send message using PHP mail () function.
IsQmail (line 279)
Sets Mailer to send message using the qmail MTA.
IsSendmail (line 271)
Sets Mailer to send message using the $Sendmail program.
IsSMTP (line 255)
Sets Mailer to send message using SMTP.
Send (line 352)
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.
SetLanguage (line 605)
Sets the language for all class error messages. Returns false if it cannot load the language file. The default language type is English.
SmtpClose (line 585)
Closes the active SMTP session if one exists.
Documentation generated on Thu, 10 Jun 2010 17:08:19 -0400 by phpDocumentor 1.4.3