-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default of isHTML #2946
Comments
Sorry, I thought |
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
I can see the source code from
src/PHPMailer.php
on line 947 where you set the default forisHTML
to betrue
.But why if I omit the
$mail->isHTML(true);
, then the content sent read the HTML element as plain text? For example, it outputHello<br>Ok
. ( the<br>
is treated as plain text and printed )The text was updated successfully, but these errors were encountered: