Skip to content

Commit 965fffc

Browse files
committed
[Mailer] fixed typo
1 parent 5b7dc58 commit 965fffc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Transport.php

Lines 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)