!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.22 (Debian). PHP/5.6.36 

uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 

uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) 

Safe-mode: OFF (not secure)

/home/h33678/data/www/it-man.ztu.edu.ua/src/vendor/swiftmailer/swiftmailer/tests/acceptance/Swift/   drwxr-xr-x
Free 116.59 GB of 200.55 GB (58.14%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     MessageAcceptanceTest.php (1.86 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

require_once 'swift_required.php';
require_once 
__DIR__.'/Mime/SimpleMessageAcceptanceTest.php';

class 
Swift_MessageAcceptanceTest extends Swift_Mime_SimpleMessageAcceptanceTest
{
    public function 
testAddPartWrapper()
    {
        
$message $this->_createMessage();
        
$message->setSubject('just a test subject');
        
$message->setFrom(array(
            
'chris.corbyn@swiftmailer.org' => 'Chris Corbyn', ));

        
$id $message->getId();
        
$date $message->getDate();
        
$boundary $message->getBoundary();

        
$message->addPart('foo''text/plain''iso-8859-1');
        
$message->addPart('test <b>foo</b>''text/html''iso-8859-1');

        
$this->assertEquals(
            
'Message-ID: <'.$id.'>'."\r\n".
            
'Date: '.date('r'$date)."\r\n".
            
'Subject: just a test subject'."\r\n".
            
'From: Chris Corbyn <chris.corbyn@swiftmailer.org>'."\r\n".
            
'MIME-Version: 1.0'."\r\n".
            
'Content-Type: multipart/alternative;'."\r\n".
            
' boundary="'.$boundary.'"'."\r\n".
            
"\r\n\r\n".
            
'--'.$boundary."\r\n".
            
'Content-Type: text/plain; charset=iso-8859-1'."\r\n".
            
'Content-Transfer-Encoding: quoted-printable'."\r\n".
            
"\r\n".
            
'foo'.
            
"\r\n\r\n".
            
'--'.$boundary."\r\n".
            
'Content-Type: text/html; charset=iso-8859-1'."\r\n".
            
'Content-Transfer-Encoding: quoted-printable'."\r\n".
            
"\r\n".
            
'test <b>foo</b>'.
            
"\r\n\r\n".
            
'--'.$boundary.'--'."\r\n",
            
$message->toString()
            );
    }

    
// -- Private helpers

    
protected function _createMessage()
    {
        
Swift_DependencyContainer::getInstance()
            ->
register('properties.charset')->asValue(null);

        return 
Swift_Message::newInstance();
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by PinoyWH1Z | C99Shell Github | Generation time: 0.01 ]--