Does anyone know how i could send html in a email that would not be to complex or require a class file. It seems like any script or tutorial on sending mime based email that i have come across is quite large. I would like to know if it is possible to just use base64 encoding to a include html file using something like this below:
$filename = "email.htm";
$fd = fopen ($filename, "r");
$html = fread ($fd, filesize ($filename));
fclose ($fd);
And then mail the contents of "email.htm" as data and not plain text, so it would show up as a webpage in a persons email client such as outlook. I know i have excluded alot here for sending the mail, but i am just focusing on getting the data from a external file (email.htm) and having that be sent as valid html to a email client such as outlook. Please let me know if you have any ideas on how to make this work.
THanks