Gmail is ignoring my HTML emails
问题 You've probably come across this error before. I cannot seem to fix it. Gmail seems to be ignoring my HTML emails and is just showing the code. All other clients (or all that I know of) are displaying the content correctly. Here is my code (with certain things changed to hide the name) $to = "$EmailAddress"; $subject = "My subject!"; $headers = "From: no-reply@mydomain.co.uk\r\n" . "X-Mailer: php"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1\r