I'm writing this e-mail campaign script that allows me to send emails out to all the addresses in a MySql table. So I've decided to spend some time on the project figure out how to send emails in HTML as well as plaintext instead of one or the other.
If users couldn't render HTML emails, the plaintext email would display correctly in the browser. From my initial reading I have to encode the email in multipart/related mime type, but I'm lost on how to put the email together. (is the email assembled as a HTML email with a plaintext attachment and encoded as multipart/related?)
Thanks,
Jorge