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

Class: C_mailer

Source Location: /shared/code/tce_class_mailer.php

Class Overview

PHPMailer
   |
   --C_mailer

C_mailer - PHPMailer class extension


Author(s):

  • Nicola Asuni

Copyright:

  • Copyright © 2004-2008, Nicola Asuni - Tecnick.com S.r.l. - ITALY - www.tecnick.com - info@tecnick.com

Variables

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::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::FixEOL()
Changes every end of line from CR or LF to CRLF.
PHPMailer::GetBoundary()
Returns the start of a message boundary.
PHPMailer::HeaderLine()
Returns a formatted header line.
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::Lang()
Returns a message in the appropriate language.
PHPMailer::MailSend()
Sends mail using the PHP mail() function.
PHPMailer::RFCDate()
Returns the proper RFC 822 formatted date.
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::ServerHostname()
Returns the server hostname or 'localhost.localdomain' if unknown.
PHPMailer::ServerVar()
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.
PHPMailer::SetError()
Adds the error message to the error container.
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::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::WrapText()
Wraps message for use with mailers that do not automatically perform wrapping and for quoted-printable.

Class Details

[line 74]
C_mailer - PHPMailer class extension



Tags:

author:  Nicola Asuni
copyright:  Copyright © 2004-2008, Nicola Asuni - Tecnick.com S.r.l. - ITALY - www.tecnick.com - info@tecnick.com
link:  www.tecnick.com
since:  2005-02-24
license:  GNU General Public License


[ Top ]


Class Variables

$language =

[line 80]

language array



Tags:

var:  array
access:  public

Type:   string
Overrides:   Array


[ Top ]



Class Methods


method Lang [line 102]

string Lang( $key)

Returns a message in the appropriate language.

(override original Lang method).




Tags:

var:  language key
access:  public


Overrides PHPMailer::Lang() (Returns a message in the appropriate language.)

Parameters:

   $key  

[ Top ]

method SetError [line 88]

void SetError( $msg)

Replace the default SetError



Tags:

var:  error message
access:  public


Overrides PHPMailer::SetError() (Adds the error message to the error container.)

Parameters:

   $msg  

[ Top ]


Documentation generated on Thu, 05 Feb 2009 12:44:36 +0100 by phpDocumentor 1.4.1