I'm trying to use content type "alternate", which sends HTMT & plain text in an email. Depending on the client, whether it supports HTML, it displays text or HTML part. Now my problem is that on HTML based email client the code works fine. On non-HTML, it strips of certain tags. But I want to display my own custom message for plain text, which doesn't seem to work :-(
I've pasted the code snippet. On non-HTML email clients, I want my customised message "You need a HTML email client to read this mail." to be displayed. Now it just shows a stripped down version of the original HTML.