Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0047cc1 commit ec890f6Copy full SHA for ec890f6
src/Symfony/Component/Mime/Email.php
@@ -425,7 +425,7 @@ private function generateBody(): AbstractPart
425
{
426
[$htmlPart, $attachmentParts, $inlineParts] = $this->prepareParts();
427
if (null === $this->text && null === $this->html && empty($attachmentParts)) {
428
- throw new LogicException('A message must have a text and/or an HTML part or attachments.');
+ throw new LogicException('A message must have a text or an HTML part or attachments.');
429
}
430
431
$part = null === $this->text ? null : new TextPart($this->text, $this->textCharset);
0 commit comments