Click to See Complete Forum and Search --> : How to send a html page in a mail?


sathysudha
10-16-2003, 04:20 AM
Friends

In our company there will be an offer. To give an advertisement offer to our customers. what we want to do is.
We will design a html page(includes stylesheets,images and scripts). I want to add that designed html page to the mail. I dont want to attach the file.
if the customer opens the mail they have to see the html page in the body content of their mail itself.
How can i do it?

Thanks
sudhakar

requestcode
10-16-2003, 07:59 AM
You will have to use a Server Side language such as PHP or Perl. I believe PHP would be better suited for this. Try doing a search in the PHP forum and you should come up with an answer.

slam
10-16-2003, 10:03 AM
this implies that your customers must accept HTML in their mail program which is not always standard !

gr

requestcode
10-16-2003, 02:22 PM
Yes Slam is right. They will probably see the HTML code itself.

PeOfEo
10-16-2003, 07:39 PM
Why dont you just instead of sending a whole page as html put an iframe tag in the code opening another page and then a link inside of that iframe such as
<iframe src="someurl">If your email does not support html please visit someurl</iframe>