I'm using sendmail with cgi in a script and right now it sends regular text. I want to convert it to send html format email. Can someone show me the line to add to change the header for this? I have searched everywhere and I cannot find it.
Thanks!
Printable View
I'm using sendmail with cgi in a script and right now it sends regular text. I want to convert it to send html format email. Can someone show me the line to add to change the header for this? I have searched everywhere and I cannot find it.
Thanks!
HEADERVARNAME = "From: FROMVARNAME <FROMVAREMAIL>\nReply-To: FROMVAREMAIL\nContent-Type: text/html; charset=iso-8859-1";
Whatever I've capitalized is a variable that you should be dealing with.