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

Class: phpmailerTest

Source Location: /shared/phpmailer/test/phpmailer_test.php

Class Overview

Assert
   |
   --TestCase
      |
      --phpmailerTest

Performs authentication tests


Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 20]
Performs authentication tests



[ Top ]


Class Variables

$ChangeLog = array()

[line 38]

Holds the change log.



Tags:

private:  

Type:   mixed


[ Top ]

$Host =  ""

[line 32]

Holds the SMTP mail host.



Tags:

public:  

Type:   mixed


[ Top ]

$Mail =  false

[line 26]

Holds the default phpmailer instance.



Tags:

private:  

Type:   mixed


[ Top ]

$NoteLog = array()

[line 44]

Holds the note log.



Tags:

private:  

Type:   mixed


[ Top ]



Class Methods


constructor phpmailerTest [line 49]

phpmailerTest phpmailerTest( $name)

Class constuctor.



Parameters:

   $name  

[ Top ]

method AddChange [line 221]

void AddChange( $sName, $sNewValue)

Adds a change entry.



Tags:

private:  


Parameters:

   $sName  
   $sNewValue  

[ Top ]

method AddNote [line 232]

void AddNote( $sValue)

Adds a simple note to the message.



Tags:

public:  


Parameters:

   $sValue  

[ Top ]

method BuildBody [line 113]

void BuildBody( )

Build the body of the message in the appropriate format.



Tags:

private:  


[ Top ]

method CheckChanges [line 195]

void CheckChanges( )

Check which default settings have been changed for the report.



Tags:

private:  


[ Top ]

method SetAddress [line 241]

void SetAddress( $sAddress, [ $sName = ""], [ $sType = "to"])

Adds all of the addresses



Tags:

public:  


Parameters:

   $sAddress  
   $sName  
   $sType  

[ Top ]

method setUp [line 57]

void setUp( )

Run before each test is started.



Overrides TestCase::setUp() (parent method not documented)

[ Top ]

method tearDown [line 100]

void tearDown( )

Run after each test is completed.



Overrides TestCase::tearDown() (parent method not documented)

[ Top ]

method test_AltBody [line 436]

void test_AltBody( )

Simple multipart/alternative test.



[ Top ]

method test_AltBody_Attachment [line 453]

void test_AltBody_Attachment( )

Simple HTML and attachment test



[ Top ]

method test_DenialOfServiceAttack [line 504]

void test_DenialOfServiceAttack( )

Tests this denial of service attack:

http://www.cybsec.com/vuln/PHPMailer-DOS.pdf




[ Top ]

method test_Embedded_Image [line 388]

void test_Embedded_Image( )

An embedded attachment test.



[ Top ]

method test_Error [line 512]

void test_Error( )



[ Top ]

method test_Html [line 352]

void test_Html( )

Try a plain message.



[ Top ]

method test_HTML_Attachment [line 369]

void test_HTML_Attachment( )

Simple HTML and attachment test



[ Top ]

method test_Low_Priority [line 282]

void test_Low_Priority( )

Try a plain message.



[ Top ]

method test_MultipleSend [line 474]

void test_MultipleSend( )



[ Top ]

method test_Multiple_Plain_FileAttachment [line 297]

void test_Multiple_Plain_FileAttachment( )

Simple plain file attachment test.



[ Top ]

method test_Multi_Embedded_Image [line 409]

void test_Multi_Embedded_Image( )

An embedded attachment test.



[ Top ]

method test_Plain_StringAttachment [line 321]

void test_Plain_StringAttachment( )

Simple plain string attachment test.



[ Top ]

method test_Quoted_Printable [line 339]

void test_Quoted_Printable( )

Plain quoted-printable message.



[ Top ]

method test_SmtpKeepAlive [line 486]

void test_SmtpKeepAlive( )



[ Top ]

method test_WordWrap [line 263]

void test_WordWrap( )

Try a plain message.



[ Top ]


Documentation generated on Fri, 05 Dec 2008 16:03:49 +0100 by phpDocumentor 1.4.1