AFP548

Building an HTML email from scratch

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:
MIME-version: 1.0
Content-type: text/html


This email then is either thrown away with some error (it is displayed too briefly to read) by Applemail or simply displays the HTML tags as text in other readers. What am I doing wrong? TIA.
Exit mobile version