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

Class: phpmailerTest

Source Location: /vendors/PHPMailer/test/phpmailerTest.php

Class Overview

PHPUnit_Framework_TestCase
   |
   --phpmailerTest

PHPMailer - PHP email transport unit test class


Variables

Methods



Class Details

[line 27]
PHPMailer - PHP email transport unit test class

Performs authentication tests




[ Top ]


Class Variables

$ChangeLog = array()

[line 47]

Holds the change log.



Tags:

private:  

Type:   mixed


[ Top ]

$Host =  ""

[line 40]

Holds the SMTP mail host.



Tags:

public:  

Type:   mixed


[ Top ]

$Mail =  false

[line 33]

Holds the default phpmailer instance.



Tags:

private:  

Type:   mixed


[ Top ]

$NoteLog = array()

[line 54]

Holds the note log.



Tags:

private:  

Type:   mixed


[ Top ]



Class Methods


method AddChange [line 233]

void AddChange( $sName, $sNewValue)

Adds a change entry.



Tags:

private:  


Parameters:

   $sName  
   $sNewValue  

[ Top ]

method AddNote [line 244]

void AddNote( $sValue)

Adds a simple note to the message.



Tags:

public:  


Parameters:

   $sValue  

[ Top ]

method BuildBody [line 125]

void BuildBody( )

Build the body of the message in the appropriate format.



Tags:

private:  


[ Top ]

method CheckChanges [line 207]

void CheckChanges( )

Check which default settings have been changed for the report.



Tags:

private:  


[ Top ]

method SetAddress [line 253]

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

Adds all of the addresses



Tags:

public:  


Parameters:

   $sAddress  
   $sName  
   $sType  

[ Top ]

method setUp [line 59]

void setUp( )

Run before each test is started.



[ Top ]

method tearDown [line 112]

void tearDown( )

Run after each test is completed.



[ Top ]

method test_Addressing [line 564]

void test_Addressing( )



[ Top ]

method test_AltBody [line 455]

void test_AltBody( )

Simple multipart/alternative test.



[ Top ]

method test_AltBody_Attachment [line 472]

void test_AltBody_Attachment( )

Simple HTML and attachment test



[ Top ]

method test_DenialOfServiceAttack [line 544]

void test_DenialOfServiceAttack( )

Tests this denial of service attack:

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




[ Top ]

method test_Embedded_Image [line 403]

void test_Embedded_Image( )

An embedded attachment test.



[ Top ]

method test_Encodings [line 608]

void test_Encodings( )

Encoding tests



[ Top ]

method test_Error [line 552]

void test_Error( )



[ Top ]

method test_Html [line 367]

void test_Html( )

Try a plain message.



[ Top ]

method test_HTML_Attachment [line 384]

void test_HTML_Attachment( )

Simple HTML and attachment test



[ Top ]

method test_Low_Priority [line 291]

void test_Low_Priority( )

Try a plain message.



[ Top ]

method test_MailSend [line 516]

void test_MailSend( )



[ Top ]

method test_Miscellaneous [line 625]

void test_Miscellaneous( )

Miscellaneous calls to improve test coverage and some small tests



[ Top ]

method test_MultipleSend [line 494]

void test_MultipleSend( )



[ Top ]

method test_Multiple_Plain_FileAttachment [line 306]

void test_Multiple_Plain_FileAttachment( )

Simple plain file attachment test.



[ Top ]

method test_Multi_Embedded_Image [line 428]

void test_Multi_Embedded_Image( )

An embedded attachment test.



[ Top ]

method test_Plain_StringAttachment [line 330]

void test_Plain_StringAttachment( )

Simple plain string attachment test.



[ Top ]

method test_Quoted_Printable [line 348]

void test_Quoted_Printable( )

Plain quoted-printable message.



[ Top ]

method test_SendmailSend [line 506]

void test_SendmailSend( )



[ Top ]

method test_Signing [line 618]

void test_Signing( )

Signing tests



[ Top ]

method test_SmtpKeepAlive [line 526]

void test_SmtpKeepAlive( )



[ Top ]

method test_Translations [line 586]

void test_Translations( )

Test language files for missing and excess translations

All languages are compared with English




[ Top ]

method test_WordWrap [line 272]

void test_WordWrap( )

Try a plain message.



[ Top ]


Documentation generated on Mon, 05 Sep 2011 20:34:00 -0500 by phpDocumentor 1.4.3