8000 minor #37878 🐛 [Mailer] Fix mailjet scheme bug (tcheymol) · jeremyFreeAgent/symfony@da9672d · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit da9672d

Browse files
committed
minor symfony#37878 🐛 [Mailer] Fix mailjet scheme bug (tcheymol)
This PR was merged into the 5.2-dev branch. Discussion ---------- 🐛 [Mailer] Fix mailjet scheme bug | Q | A | ------------- | --- | Branch? | 5.1 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | no | License | MIT | Doc PR | no <!-- Fix a typo introduced in mailjet-mailer accepted schemes that causes the scheme mailjet+api to not be recognized Commits ------- 6f357a6 🐛 [Mailer] Fix mailjet scheme bug
2 parents fbcdbf9 + 6f357a6 commit da9672d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Mailer/Bridge/Mailjet/Transport/MailjetTransportFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function create(Dsn $dsn): TransportInterface
2525
$password = $this->getPassword($dsn);
2626
$host = 'default' === $dsn->getHost() ? null : $dsn->getHost();
2727

28-
if ('maijlet+api' === $scheme) {
28+
if ('mailjet+api' === $scheme) {
2929
return (new MailjetApiTransport($user, $password, $this->client, $this->dispatcher, $this->logger))->setHost($host);
3030
}
3131

0 commit comments

Comments
 (0)
0