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 28ba7d9

Browse filesBrowse files
committed
[Notifier] Tweak an error message
1 parent 2e11577 commit 28ba7d9
Copy full SHA for 28ba7d9

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/Notifier/Channel/EmailChannel.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Notifier/Channel/EmailChannel.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function notify(Notification $notification, RecipientInterface $recipient
5757
if ($email instanceof Email) {
5858
if (!$email->getFrom()) {
5959
if (null === $this->from) {
60-
throw new LogicException(sprintf('To send the "%s" notification by email, you must configure the global "from" header. For this you can set a sender in the global "envelope" of the mailer configuration or set a "from" header in the "asEmailMessage()" method.', get_debug_type($notification)));
60+
throw new LogicException(sprintf('To send the "%s" notification by email, you must configure a "from" header by either setting a sender in the global "envelope" of the mailer configuration or by setting a "from" header in the "asEmailMessage()" method.', get_debug_type($notification)));
6161
}
6262

6363
$email->from($this->from);

0 commit comments

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