• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 138
  • Last Modified:

mail question with html

when i mail results of a form to myself
i try to do

print MAIL "<html><body> etc":

but when i open the mail in outlook
it just says "<html><body> etc"
and doesnt load it up in html
is this a problem with my code?

thanks
0
boofulls
Asked:
boofulls
1 Solution
 
boofullsAuthor Commented:
0
 
maneshrCommented:
boofulls,

Before you start printing the HTML tags, try adding the following line..


print MAIL "Content-type: text/html\n\n";

print MAIL "<html>\n";

print MAIL "<body> etc":


0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now