Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9cf665f

Browse filesBrowse files
committed
[Mailer] fixed typo
1 parent f3f1ebc commit 9cf665f
Copy full SHA for 9cf665f

File tree

Expand file treeCollapse file tree

1 file changed

+6
-6
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-6
lines changed

‎src/Symfony/Component/Mailer/Transport.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Mailer/Transport.php
+6-6Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ private static function createTransport(string $dsn, EventDispatcherInterface $d
8787
throw new LogicException(sprintf('The "%s" scheme is not supported for mailer "%s".', $parsedDsn['scheme'], $parsedDsn['host']));
8888
case 'gmail':
8989
if (!class_exists(Google\Smtp\GmailTransport::class)) {
90-
throw new \LogicException('Unable to send emails via Gmail as the Google bridge is not installed. Try running "composer require symfony/google-bridge".');
90+
throw new \LogicException('Unable to send emails via Gmail as the Google bridge is not installed. Try running "composer require symfony/google-mailer".');
9191
}
9292

9393
if ('smtp' === $parsedDsn['scheme']) {
@@ -97,7 +97,7 @@ private static function createTransport(string $dsn, EventDispatcherInterface $d
9797
throw new LogicException(sprintf('The "%s" scheme is not supported for mailer "%s".', $parsedDsn['scheme'], $parsedDsn['host']));
9898
case 'mailgun':
9999
if (!class_exists(Mailgun\Smtp\MailgunTransport::class)) {
100-
throw new \LogicException('Unable to send emails via Mailgun as the bridge is not installed. Try running "composer require symfony/mailgun-bridge".');
100+
throw new \LogicException('Unable to send emails via Mailgun as the bridge is not installed. Try running "composer require symfony/mailgun-mailer".');
101101
}
102102

103103
if ('smtp' === $parsedDsn['scheme']) {
@@ -113,7 +113,7 @@ private static function createTransport(string $dsn, EventDispatcherInterface $d
113113
throw new LogicException(sprintf('The "%s" scheme is not supported for mailer "%s".', $parsedDsn['scheme'], $parsedDsn['host']));
114114
case 'postmark':
115115
if (!class_exists(Postmark\Smtp\PostmarkTransport::class)) {
116-
throw new \LogicException('Unable to send emails via Postmark as the bridge is not installed. Try running "composer require symfony/postmark-bridge".');
116+
throw new \LogicException('Unable to send emails via Postmark as the bridge is not installed. Try running "composer require symfony/postmark-mailer".');
117117
}
118118

119119
if ('smtp' === $parsedDsn['scheme']) {
@@ -126,7 +126,7 @@ private static function createTransport(string $dsn, EventDispatcherInterface $d
126126
throw new LogicException(sprintf('The "%s" scheme is not supported for mailer "%s".', $parsedDsn['scheme'], $parsedDsn['host']));
127127
case 'sendgrid':
128128
if (!class_exists(Sendgrid\Smtp\SendgridTransport::class)) {
129-
throw new \LogicException('Unable to send emails via Sendgrid as the bridge is not installed. Try running "composer require symfony/sendgrid-bridge".');
129+
throw new \LogicException('Unable to send emails via Sendgrid as the bridge is not installed. Try running "composer require symfony/sendgrid-mailer".');
130130
}
131131

132132
if ('smtp' === $parsedDsn['scheme']) {
@@ -139,7 +139,7 @@ private static function createTransport(string $dsn, EventDispatcherInterface $d
139139
throw new LogicException(sprintf('The "%s" scheme is not supported for mailer "%s".', $parsedDsn['scheme'], $parsedDsn['host']));
140140
case 'ses':
141141
if (!class_exists(Amazon\Smtp\SesTransport::class)) {
142-
throw new \LogicException('Unable to send emails via Amazon SES as the bridge is not installed. Try running "composer require symfony/amazon-bridge".');
142+
throw new \LogicException('Unable to send emails via Amazon SES as the bridge is not installed. Try running "composer require symfony/amazon-mailer".');
143143
}
144144

145145
if ('smtp' === $parsedDsn['scheme']) {
@@ -155,7 +155,7 @@ private static function createTransport(string $dsn, EventDispatcherInterface $d
155155
throw new LogicException(sprintf('The "%s" scheme is not supported for mailer "%s".', $parsedDsn['scheme'], $parsedDsn['host']));
156156
case 'mandrill':
157157
if (!class_exists(Mailchimp\Smtp\MandrillTransport::class)) {
158-
throw new \LogicException('Unable to send emails via Mandrill as the bridge is not installed. Try running "composer require symfony/mailchimp-bridge".');
158+
throw new \LogicException('Unable to send emails via Mandrill as the bridge is not installed. Try running "composer require symfony/mailchimp-mailer".');
159159
}
160160

161161
if ('smtp' === $parsedDsn['scheme']) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.