I'm writing a PHP application that builds and email from scratch in which I am trying to use HTML. The documention seems pretty clear but since it is not working, I am obviously missing something. This is a simple email that is built using pure HTML. The headers I add to the email that I thought should work are:
This email then is either thrown away with some error (it is displayed too briefly to read) by one reader or simply displays the HTML tags as text in others. What am I doing wrong? TIA.
Code:
MIME-version: 1.0
Content-type: text/html