PHPMailer not following HTML special chars #2724
Unanswered
jweaver0312
asked this question in
Q&A
Replies: 1 comment 13 replies
-
PHPMailer doesn't care what content you use; it's entirely up to you how to handle it. Plain-text messages do not know about HTML entities, so they won't work in that context (presumably what you're seeing). If you want to convert HTML entities back to real characters, pass your message body through |
Beta Was this translation helpful? Give feedback.
13 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For example, if I use
$
while PHPMailer is set to HTML content, which would translate in HTML to just the $ sign, PHPMailer sends it as$
in plaintext and not translating it to the '$'. If I explicitly have it send a '$', it works fine.Is there a way to get it to translate the
$
to '$'?As another example,
works fine.Beta Was this translation helpful? Give feedback.
All reactions