Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/vendor/iyzico/../nikic/../dflydev/../ramsey/../maennchen/../tijsverkoyen/.././psr/../phpoffice/./../dragonmantank/../nette/../authorizenet/../yajra/../theseer/../doctrine/.././guzzlehttp/../symfony/polyfill-php80/../mime/.././console/../mailjet-mailer/Transport
الملفات الموجودة في هذا الـ Path:
.
..
MailjetApiTransport.php
MailjetSmtpTransport.php
MailjetTransportFactory.php

مشاهدة ملف: MailjetSmtpTransport.php

<?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\Mailjet\Transport;

use Psr\EventDispatcher\EventDispatcherInterface;
use Psr\Log\LoggerInterface;
use Symfony\Component\Mailer\Transport\Smtp\EsmtpTransport;

class MailjetSmtpTransport extends EsmtpTransport
{
    public function __construct(string $username, #[\SensitiveParameter] string $password, EventDispatcherInterface $dispatcher = null, LoggerInterface $logger = null)
    {
        parent::__construct('in-v3.mailjet.com', 465, true, $dispatcher, $logger);

        $this->setUsername($username);
        $this->setPassword($password);
    }
}