Skip to content

Commit

Permalink
Merge pull request #17 from ulbrich-media/patch-1
Browse files Browse the repository at this point in the history
Adjust docs about setting the email body
  • Loading branch information
daniellienert authored Aug 19, 2019
2 parents 02aac01 + 2baec71 commit 429520a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ Here is an example:
->setTo(array($recipientAddress => $recipientName))
->setSubject($subject);
$mail->setBody($message, 'text/html');
$mail->setBody($message, 'text/plain');
$mail->setBody($messageTxt, 'text/plain');
$mail->addPart($messageHtml, 'text/html');
$mail->send();
Expand Down

0 comments on commit 429520a

Please sign in to comment.