html tags in email
-
I’m trying to see if there’s a way to send html email from WordPress. Email function works, but when viewing such email like a notification, I see all the html tags.
I added add_filter for wp_mail_content_type for ‘text/html’ in the functions.php, it shows on the email header, but I’m still seeing things like <p>, <br>, <style> in the body of the email.I’m viewing the email on gmail, it does the same thing in MacOS Mail, as well as Outlook.
I can work with either a plugin to correctly render html, or just disabling any html tag that WordPress is sending.How do I fix this?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘html tags in email’ is closed to new replies.