Skip to content

Commit f99e1a0

Browse files
bug #53125 [Mailer] add the MailPace transport to the UnsupportedSchemeException (xabbuh)
This PR was merged into the 6.3 branch. Discussion ---------- [Mailer] add the MailPace transport to the UnsupportedSchemeException | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | | License | MIT Commits ------- 66005b8 add the MailPace transport to the UnsupportedSchemeException
2 parents eef0d54 + 66005b8 commit f99e1a0

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/Symfony/Component/Mailer/Exception/UnsupportedSchemeException.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ class UnsupportedSchemeException extends LogicException
4040
'class' => Bridge\Mailjet\Transport\MailjetTransportFactory::class,
4141
'package' => 'symfony/mailjet-mailer',
4242
],
43+
'mailpace' => [
44+
'class' => Bridge\MailPace\Transport\MailPaceTransportFactory::class,
45+
'package' => 'symfony/mail-pace-mailer',
46+
],
4347
'mandrill' => [
4448
'class' => Bridge\Mailchimp\Transport\MandrillTransportFactory::class,
4549
'package' => 'symfony/mailchimp-mailer',

src/Symfony/Component/Mailer/Tests/Exception/UnsupportedSchemeExceptionTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
use Symfony\Component\Mailer\Bridge\MailerSend\Transport\MailerSendTransportFactory;
2121
use Symfony\Component\Mailer\Bridge\Mailgun\Transport\MailgunTransportFactory;
2222
use Symfony\Component\Mailer\Bridge\Mailjet\Transport\MailjetTransportFactory;
23+
use Symfony\Component\Mailer\Bridge\MailPace\Transport\MailPaceTransportFactory;
2324
use Symfony\Component\Mailer\Bridge\OhMySmtp\Transport\OhMySmtpTransportFactory;
2425
use Symfony\Component\Mailer\Bridge\Postmark\Transport\PostmarkTransportFactory;
2526
use Symfony\Component\Mailer\Bridge\Sendgrid\Transport\SendgridTransportFactory;
@@ -41,6 +42,7 @@ public static function setUpBeforeClass(): void
4142
MailerSendTransportFactory::class => false,
4243
MailgunTransportFactory::class => false,
4344
MailjetTransportFactory::class => false,
45+
MailPaceTransportFactory::class => false,
4446
MandrillTransportFactory::class => false,
4547
OhMySmtpTransportFactory::class => false,
4648
PostmarkTransportFactory::class => false,
@@ -70,6 +72,7 @@ public static function messageWhereSchemeIsPartOfSchemeToPackageMapProvider(): \
7072
yield ['mailersend', 'symfony/mailersend-mailer'];
7173
yield ['mailgun', 'symfony/mailgun-mailer'];
7274
yield ['mailjet', 'symfony/mailjet-mailer'];
75+
yield ['mailpace', 'symfony/mail-pace-mailer'];
7376
yield ['mandrill', 'symfony/mailchimp-mailer'];
7477
yield ['ohmysmtp', 'symfony/oh-my-smtp-mailer'];
7578
yield ['postmark', 'symfony/postmark-mailer'];

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy