Class: bblogMailer

Source Location: /bblog/inc/bBlogMailer.class.php ( Revision Log )

Class bblogMailer

Class Overview

PHPMailer - PHP email transport class

Located in /bblog/inc/bBlogMailer.class.php [line 20]

PHPMailer
   |
   --bblogMailer
Author(s):
  • Brent R. Matzelle
Information Tags:
Copyright:  2001 - 2003 Brent R. Matzelle

Properties

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From PHPMailer

PHPMailer::$AltBody
PHPMailer::$Body
PHPMailer::$CharSet
PHPMailer::$ConfirmReadingTo
PHPMailer::$ContentType
PHPMailer::$Encoding
PHPMailer::$ErrorInfo
PHPMailer::$Helo
PHPMailer::$Hostname
PHPMailer::$Password
PHPMailer::$PluginDir
PHPMailer::$Port
PHPMailer::$Priority
PHPMailer::$Sender
PHPMailer::$Sendmail
PHPMailer::$SMTPAuth
PHPMailer::$SMTPDebug
PHPMailer::$SMTPKeepAlive
PHPMailer::$Subject
PHPMailer::$Timeout
PHPMailer::$Username
PHPMailer::$Version

Inherited From 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::AddReplyTo()
Adds a "Reply-to" address.
PHPMailer::AddStringAttachment()
Adds a string or binary attachment (non-filesystem) to the list.
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::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::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::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::SmtpClose()
Closes the active SMTP session if one exists.

[ Top ]
Property Summary
mixed   $From   TODO: i'd rather have $Host be read from bb_config, instead of writing it here. Just incase any robot would come, or any faggot wants to hack this file for spam reasons.
mixed   $FromName  
mixed   $Host  
mixed   $Mailer  
mixed   $Reciever  
mixed   $WordWrap  

[ Top ]
Method Summary
void   error_handler()   Replace the default error_handler

[ Top ]
Properties
mixed   $From = "bblog@bblog.com" [line 30]

TODO: i'd rather have $Host be read from bb_config, instead of writing it here. Just incase any robot would come, or any faggot wants to hack this file for spam reasons.


Redefinition of:
PHPMailer::$From
Sets the From email address for the message.

[ Top ]
mixed   $FromName = "The bBlog Team" [line 31]

Redefinition of:
PHPMailer::$FromName
Sets the From name of the message.

[ Top ]
mixed   $Host = "localhost;xushi.co.uk" [line 32]

Redefinition of:
PHPMailer::$Host
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").

[ Top ]
mixed   $Mailer = "smtp" [line 33]

Redefinition of:
PHPMailer::$Mailer
Method to send mail: ("mail", "sendmail", or "smtp").

[ Top ]
mixed   $Reciever = "." [line 35]

[ Top ]
mixed   $WordWrap = 75 [line 34]

Redefinition of:
PHPMailer::$WordWrap
Sets word wrapping on the body of the message to a given number of characters.

[ Top ]
Methods
error_handler  [line 43]

  void error_handler( string $msg  )

Replace the default error_handler

Parameters:
string   $msg: 


[ Top ]