Module exposing: DynamicMailTransport
// Source: https://github.com/bagisto/bagisto | License: MIT | Copyright 2010-2025, Webkul Software
// Provided via justclaw.it.com; keep this notice with the code.
<?php
namespace Webkul\Core\Mail\Transport;
use Symfony\Component\Mailer\Bridge\Brevo\Transport\BrevoApiTransport;
use Symfony\Component\Mailer\SentMessage;
use Symfony\Component\Mailer\Transport\AbstractTransport;
use Symfony\Component\Mailer\Transport\Smtp\EsmtpTransport;
use Symfony\Component\Mailer\Transport\TransportInterface;
class DynamicMailTransport extends AbstractTransport
{
/**
* Send over an SMTP server of the admin's choosing.
*/
public const DRIVER_SMTP = 'smtp';
/**
* Send over Brevo's HTTP API.
*/
public const DRIVER_BREVO_API = 'brevo_api';
/**
* Send the given
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key