AddAddress()
AddAttachment()
AddBCC()
AddCC()
AddCustomHeader()
AddEmbeddedImage()
AddReplyTo()
AddStringAttachment()
AddrAppend()
AddrFormat()
AttachAll()
ClearAddresses()
ClearAllRecipients()
ClearAttachments()
ClearBCCs()
ClearCCs()
ClearCustomHeaders()
ClearReplyTos()
CreateBody()
CreateHeader()
EncodeFile()
EncodeHeader()
EncodeQ()
EncodeQP()
EncodeString()
EndBoundary()
FixEOL()
GetBoundary()
HeaderLine()
InlineImageExists()
IsError()
IsHTML()
IsMail()
IsQmail()
IsSMTP()
IsSendmail()
MailSend()
RFCDate()
Send()
SendmailSend()
ServerHostname()
ServerVar()
SetError()
SetMessageType()
SetWordWrap()
SmtpClose()
SmtpConnect()
SmtpSend()
TextLine()
WrapText()
$AltBody
$Body
$CharSet
$ConfirmReadingTo
$ContentType
$CustomHeader
$Encoding
$ErrorInfo
$From
$FromName
$Helo
$Host
$Hostname
$LE
$Mailer
$Password
$PluginDir
$Port
$Priority
$ReplyTo
$SMTPAuth
$SMTPDebug
$SMTPKeepAlive
$Sender
$Sendmail
$Subject
$Timeout
$Username
$Version
$WordWrap
$attachment
$bcc
$boundary
$cc
$error_count
$message_type
$smtp
$to
PHPMailer - PHP email transport class
| package | PHPMailer |
|---|---|
| author | Brent R. Matzelle |
| copyright | 2001 - 2003 Brent R. Matzelle |
AddAddress(string $address, string $name) : void
string
string
AddAttachment(string $path, string $name, string $encoding, string $type) : bool
Returns false if the file could not be found or accessed.
stringPath to the attachment.
stringOverrides the attachment name.
stringFile encoding (see $Encoding).
stringFile extension (MIME) type.
boolAddBCC(string $address, string $name) : void
string
string
AddCC(string $address, string $name) : void
string
string
AddCustomHeader($custom_header) : void
AddEmbeddedImage(string $path, string $cid, string $name, string $encoding, string $type) : bool
stringPath to the attachment.
stringContent ID of the attachment. Use this to identify the Id for accessing the image in an HTML form.
stringOverrides the attachment name.
stringFile encoding (see $Encoding).
stringFile extension (MIME) type.
boolAddReplyTo(string $address, string $name) : void
string
string
AddStringAttachment(string $string, string $filename, string $encoding, string $type) : void
This method can be used to attach ascii or binary data, such as a BLOB record from a database.
stringString attachment data.
stringName of the attachment.
stringFile encoding (see $Encoding).
stringFile extension (MIME) type.
AddrAppend($type, $addr) : string
| access | private |
|---|
stringAddrFormat($addr) : string
| access | private |
|---|
stringAttachAll() : string
Returns an empty string on failure.
| access | private |
|---|
stringClearAddresses() : void
ClearAllRecipients() : void
ClearAttachments() : void
ClearBCCs() : void
ClearCCs() : void
ClearCustomHeaders() : void
ClearReplyTos() : void
CreateBody() : string
| access | private |
|---|
stringCreateHeader() : string
| access | private |
|---|
stringEncodeFile($path, $encoding) : string
| access | private |
|---|
stringEncodeHeader($str, $position) : string
| access | private |
|---|
stringEncodeQ($str, $position) : string
| access | private |
|---|
stringEncodeQP($str) : string
| access | private |
|---|
stringEncodeString($str, $encoding) : string
| access | private |
|---|
stringEndBoundary($boundary)
| access | private |
|---|
FixEOL($str) : string
| access | private |
|---|
stringGetBoundary($boundary, $charSet, $contentType, $encoding)
| access | private |
|---|
HeaderLine($name, $value) : string
| access | private |
|---|
stringInlineImageExists() : bool
| access | private |
|---|
boolIsError() : bool
boolIsHTML(bool $bool) : void
bool
IsMail() : void
IsQmail() : void
IsSMTP() : void
IsSendmail() : void
MailSend($header, $body) : bool
| access | private |
|---|
boolRFCDate() : string
| access | private |
|---|
stringSend() : bool
boolSendmailSend($header, $body) : bool
| access | private |
|---|
boolServerHostname() : string
| access | private |
|---|
stringServerVar($varName) : mixed
| access | private |
|---|
mixedSetError($msg) : void
Returns void.
| access | private |
|---|
SetMessageType() : void
| access | private |
|---|
SetWordWrap() : void
| access | private |
|---|
SmtpClose() : void
SmtpConnect() : bool
| access | private |
|---|
boolSmtpSend($header, $body) : bool
| access | private |
|---|
boolTextLine($value) : string
| access | private |
|---|
stringWrapText($message, $length, $qp_mode) : string
Original written by philippe.
| access | private |
|---|
string$AltBody : string
$Body : string
If HTML then run IsHTML(true).
$CharSet : string
$ConfirmReadingTo : string
$ContentType : string
$CustomHeader
$Encoding : string
$ErrorInfo : string
$From : string
$FromName : string
$Helo
@var string
$Host : string
Hosts will be tried in order.
$Hostname
@var string
$LE
$Mailer : string
$Password
@var string
$PluginDir : string
$Port
@var int
$Priority : int
$ReplyTo
$SMTPAuth
@var bool
$SMTPDebug
@var bool
$SMTPKeepAlive : bool
$Sender : string
$Sendmail : string
$Subject : string
$Timeout
@var int
$Username
@var string
$Version
@var string
$WordWrap : int
$bcc
$boundary
$cc
$error_count
$smtp
$to