Mailer
[ class tree: Mailer ] [ index: Mailer ] [ all elements ]

Class: Mailer

Source Location: /includes/classes/mailer.class.php

Class Overview

PHPMailer
   |
   --Mailer



Methods


Inherited Variables

Inherited Methods

Class: PHPMailer

PHPMailer::AddAddress()
Adds a "To" address.
PHPMailer::AddAttachment()
Adds an attachment from a path on the filesystem.
PHPMailer::AddBCC()
Adds a "Bcc" address. Note: this function works with the SMTP mailer on win32, not with the "mail" mailer.
PHPMailer::AddCC()
Adds a "Cc" address. Note: this function works with the SMTP mailer on win32, not with the "mail" mailer.
PHPMailer::AddCustomHeader()
Adds a custom header.
PHPMailer::AddEmbeddedImage()
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".
PHPMailer::AddrAppend()
Creates recipient headers.
PHPMailer::AddReplyTo()
Adds a "Reply-to" address.
PHPMailer::AddrFormat()
Formats an address correctly.
PHPMailer::AddStringAttachment()
Adds a string or binary attachment (non-filesystem) to the list.
PHPMailer::AttachAll()
Attaches all fs, string, and binary attachments to the message.
PHPMailer::Base64EncodeWrapMB()
Correctly encodes and wraps long multibyte strings for mail headers without breaking lines within a character.
PHPMailer::ClearAddresses()
Clears all recipients assigned in the TO array. Returns void.
PHPMailer::ClearAllRecipients()
Clears all recipients assigned in the TO, CC and BCC array. Returns void.
PHPMailer::ClearAttachments()
Clears all previously set filesystem, string, and binary attachments. Returns void.
PHPMailer::ClearBCCs()
Clears all recipients assigned in the BCC array. Returns void.
PHPMailer::ClearCCs()
Clears all recipients assigned in the CC array. Returns void.
PHPMailer::ClearCustomHeaders()
Clears all custom headers. Returns void.
PHPMailer::ClearReplyTos()
Clears all recipients assigned in the ReplyTo array. Returns void.
PHPMailer::CreateBody()
Assembles the message body. Returns an empty string on failure.
PHPMailer::CreateHeader()
Assembles message header.
PHPMailer::EncodeFile()
Encodes attachment in requested format. Returns an empty string on failure.
PHPMailer::EncodeHeader()
Encode a header string to best of Q, B, quoted or none.
PHPMailer::EncodeQ()
Encode string to q encoding.
PHPMailer::EncodeQP()
Encode string to quoted-printable.
PHPMailer::EncodeString()
Encodes string to requested format. Returns an empty string on failure.
PHPMailer::EndBoundary()
Returns the end of a message boundary.
PHPMailer::GetBoundary()
Returns the start of a message boundary.
PHPMailer::getFile()
Read a file from a supplied filename and return it.
PHPMailer::GetMailMIME()
Returns the message MIME.
PHPMailer::HasMultiBytes()
Checks if a string contains multibyte characters.
PHPMailer::HeaderLine()
PHPMailer::InlineImageExists()
Returns true if an inline attachment is present.
PHPMailer::IsError()
Returns true if an error occurred.
PHPMailer::IsHTML()
Sets message type to HTML.
PHPMailer::IsMail()
Sets Mailer to send message using PHP mail() function.
PHPMailer::IsQmail()
Sets Mailer to send message using the qmail MTA.
PHPMailer::IsSendmail()
Sets Mailer to send message using the $Sendmail program.
PHPMailer::IsSMTP()
Sets Mailer to send message using SMTP.
PHPMailer::MailSend()
Sends mail using the PHP mail() function.
PHPMailer::MsgHTML()
Evaluates the message and returns modifications for inline images and backgrounds
PHPMailer::SecureHeader()
Strips newlines to prevent header injection.
PHPMailer::Send()
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.
PHPMailer::SendmailSend()
Sends mail using the $Sendmail program.
PHPMailer::set()
Set (or reset) Class Objects (variables)
PHPMailer::SetLanguage()
Sets the language for all class error messages. Returns false if it cannot load the language file. The default language type is English.
PHPMailer::SetMessageType()
Sets the message type.
PHPMailer::SetWordWrap()
Set the body wrapping.
PHPMailer::Sign()
Set the private key file and password to sign the message.
PHPMailer::SmtpClose()
Closes the active SMTP session if one exists.
PHPMailer::SmtpConnect()
Initiates a connection to an SMTP server. Returns false if the operation failed.
PHPMailer::SmtpSend()
Sends mail via SMTP using PhpSMTP (Author: Chris Ryan). Returns bool. Returns false if there is a bad MAIL FROM, RCPT, or DATA input.
PHPMailer::TextLine()
Returns a formatted mail line.
PHPMailer::UTF8CharBoundary()
Finds last character boundary prior to maxLength in a utf-8 quoted (printable) encoded string.
PHPMailer::WrapText()
Wraps message for use with mailers that do not automatically perform wrapping and for quoted-printable.
PHPMailer::_mime_types()
Gets the mime type of the embedded or inline image

Class Details

[line 23]


[ Top ]


Class Methods


constructor __construct [line 29]

Mailer __construct( )

Sets the authentication for SMTP



[ Top ]


Documentation generated on Thu, 01 Jan 2009 14:04:18 -0800 by phpDocumentor 1.4.2