-
-
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
If we use 'XYZ & Contracting Company' in subject this is sent as 'XYZ & Contracting Company'. Please suggest how to fix #3001
Comments
$subject = 'XYZ & Contracting Company'; |
No, don't do that, you're only going to cause problems with that as it's duplicating what PHPMailer already does, so you're likely to end up with double or corrupt encoding. PHPMailer does not apply HTML entity encoding anywhere except debug output, so it's not PHPMailer that's doing this. |
Problem description
If we use 'XYZ & Contracting Company' in subject this is sent as 'XYZ & Contracting Company'. Please suggest how to fix
Code to reproduce
........
The text was updated successfully, but these errors were encountered: