|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
phpmailer
phpmailer - PHP email transport class
Field Summary | |
string |
$AltBody
Sets the text-only body of the message. |
string |
$Body
Sets the Body of the message. |
string |
$CharSet
Sets the CharSet of the message. |
string |
$ConfirmReadingTo
Sets the email address that a reading confirmation will be sent. |
string |
$ContentType
Sets the Content-type of the message. |
string |
$Encoding
Sets the Encoding of the message. |
string |
$ErrorInfo
Holds the most recent mailer error message. |
string |
$From
Sets the From email address for the message. |
string |
$FromName
Sets the From name of the message. |
string |
$Helo
Sets the SMTP HELO of the message. |
string |
$Host
Sets the SMTP hosts. |
string |
$LE
Sets the line endings of the message. |
string |
$Mailer
Method to send mail: ("mail", "sendmail", or "smtp"). |
string |
$Password
Sets SMTP password. |
string |
$PluginDir
Path to phpmailer plugins. |
int |
$Port
Sets the default SMTP server port. |
int |
$Priority
Email priority (1 = High, 3 = Normal, 5 = low). |
string |
$Sender
Sets the Sender email of the message. |
string |
$Sendmail
Sets the path of the sendmail program. |
bool |
$SMTPAuth
Sets SMTP authentication. |
string |
$Subject
Sets the Subject of the message. |
bool |
$UseMSMailHeaders
Turns Microsoft mail client headers on and off. |
string |
$Username
Sets SMTP username. |
string |
$Version
Holds phpmailer version. |
int |
$WordWrap
Sets word wrapping on the body of the message to a given number of characters. |
Constructor Summary | |
phpmailer()
|
Method Summary | |
void |
AddAddress(var $address,
var $name)
Adds a "To" address. |
bool |
AddAttachment(var $path,
var $name,
var $encoding,
var $type)
Adds an attachment from a path on the filesystem. |
void |
AddBCC(var $address,
var $name)
Adds a "Bcc" address. |
void |
AddCC(var $address,
var $name)
Adds a "Cc" address. |
void |
AddCustomHeader(var $custom_header)
Adds a custom header. |
bool |
AddEmbeddedImage(var $path,
var $cid,
var $name,
var $encoding,
var $type)
Adds an embedded attachment. |
void |
AddReplyTo(var $address,
var $name)
Adds a "Reply-to" address. |
void |
AddStringAttachment(var $string,
var $filename,
var $encoding,
var $type)
Adds a string or binary attachment (non-filesystem) to the list. |
void |
ClearAddresses()
Clears all recipients assigned in the TO array. |
void |
ClearAllRecipients()
Clears all recipients assigned in the TO, CC and BCC array. |
void |
ClearAttachments()
Clears all previously set filesystem, string, and binary attachments. |
void |
ClearBCCs()
Clears all recipients assigned in the BCC array. |
void |
ClearCCs()
Clears all recipients assigned in the CC array. |
void |
ClearCustomHeaders()
Clears all custom headers. |
void |
ClearReplyTos()
Clears all recipients assigned in the ReplyTo array. |
void |
IsHTML(var $bool)
Sets message type to HTML. |
void |
IsMail()
Sets Mailer to send message using PHP mail() function. |
void |
IsQmail()
Sets Mailer to send message using the qmail MTA. |
void |
IsSendmail()
Sets Mailer to send message using the $Sendmail program. |
void |
IsSMTP()
Sets Mailer to send message using SMTP. |
bool |
Send()
Creates message and assigns Mailer. |
string |
SendToQueue(var $queue_path,
var $send_time)
Sends mail message to an assigned queue directory. |
Field Detail |
public int $Priority
public string $CharSet
public string $ContentType
public string $Encoding
public string $ErrorInfo
public string $From
public string $FromName
public string $Sender
public string $Subject
public string $Body
public string $AltBody
public int $WordWrap
public string $Mailer
public string $Sendmail
public bool $UseMSMailHeaders
public string $PluginDir
public string $Version
public string $ConfirmReadingTo
public string $LE
public string $Host
public int $Port
public string $Helo
public bool $SMTPAuth
public string $Username
public string $Password
Constructor Detail |
public phpmailer()
Method Detail |
public void IsHTML(var $bool)
public void IsSMTP()
public void IsMail()
public void IsSendmail()
public void IsQmail()
public void AddAddress(var $address, var $name)
$name
- Default Value: ""public void AddCC(var $address, var $name)
$name
- Default Value: ""public void AddBCC(var $address, var $name)
$name
- Default Value: ""public void AddReplyTo(var $address, var $name)
$name
- Default Value: ""public bool Send()
public string SendToQueue(var $queue_path, var $send_time)
$send_time
- Default Value: 0public bool AddAttachment(var $path, var $name, var $encoding, var $type)
$name
- Default Value: ""$encoding
- Default Value: "base64"$type
- Default Value: "application/octet-stream"public void AddStringAttachment(var $string, var $filename, var $encoding, var $type)
$encoding
- Default Value: "base64"$type
- Default Value: "application/octet-stream"public bool AddEmbeddedImage(var $path, var $cid, var $name, var $encoding, var $type)
cid
- this is the Content Id of the attachment. Use this to identify
the Id for accessing the image in an HTML form.$name
- Default Value: ""$encoding
- Default Value: "base64"$type
- Default Value: "application/octet-stream"public void ClearAddresses()
public void ClearCCs()
public void ClearBCCs()
public void ClearReplyTos()
public void ClearAllRecipients()
public void ClearAttachments()
public void ClearCustomHeaders()
public void AddCustomHeader(var $custom_header)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |