Phpfox_Mail_Driver_Phpmailer_Smtp

Description

Implements interfaces:

PHPMailer SMTP

  • author: Raymond Benc
  • version: $Id: smtp.class.php 1687 2010-07-22 03:13:27Z Raymond_Benc $
  • copyright: [PHPFOX_COPYRIGHT]

Located in /include/library/phpfox/mail/driver/phpmailer/smtp.class.php (line 16)


	
			
Variable Summary
 unknown_type $_oMail
Method Summary
 mixed __construct ()
 bool send (mixed $mTo, string $sSubject, string $sTextPlain, string $sTextHtml, [string $sFromName = null], [string $sFromEmail = null])
 void test (array $aVals)
Variables
unknown_type $_oMail = null (line 23)

PHPMailer Object

  • access: private
Methods
Constructor __construct (line 30)

Class constructor that loads PHPMailer class and sets all the needed variables.

  • return: FALSE if we cannot load PHPMailer, or NULL if we were.
  • access: public
mixed __construct ()
send (line 93)

Sends out an email.

  • return: TRUE on success, FALSE on failure.
  • access: public
bool send (mixed $mTo, string $sSubject, string $sTextPlain, string $sTextHtml, [string $sFromName = null], [string $sFromEmail = null])
  • mixed $mTo: Can either be a persons email (STRING) or an ARRAY of emails.
  • string $sSubject: Subject message of the email.
  • string $sTextPlain: Plain text of the message.
  • string $sTextHtml: HTML version of the message.
  • string $sFromName: Name the email is from.
  • string $sFromEmail: Email the email is from.

Implementation of:
Phpfox_Mail_Interface::send()
Sends out an email.
test (line 62)

Run a test to make sure the admin provides the correct SMTP information.

  • access: public
void test (array $aVals)
  • array $aVals: ARRAY of values to connect to an SMTP server.

Documentation generated on Tue, 28 Sep 2010 10:36:44 +0200 by phpDocumentor 1.4.0a2