|
I have a form page that I am trying to get to send a nice html formatted message using a html template when it send the email to me. However when it send the email it sends it in plain text and its ok, but not what I want. I want to see it the way I have it formed on the template when it comes to my email. If anyone has any suggestion let me know. Where my site is currently hosted it does not allow ASP pages, otherwise i would that, i can use cgi scripts though.
here is the form: http://development.specialopsghosts.com/...
If you need to see the files or an example of the email it returns to me leave me an email address so i can send you the files and a copy of the mail so you can see.
How do i get my cgi formail script to format the mail its sending into HTML or to use a html template?
If I understand your question correctly you are getting all the html tags and you want it to show the markup without the tags
if this is correct then you likely need to add the following line to the top of the page being generated (without the quotes)
'Content-type: text/html \n\n'
in case you don't know '\n' is a newline character and there must be 2. this line MUST be the very first line in your html output. This tells your browser that the page's MIME type is html and not text/plain
hope this helps
|