Solved

mail question with html

Posted on 2000-05-12
2
121 Views
Last Modified: 2010-03-05
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
Comment
Question by:boofulls
2 Comments
 

Author Comment

by:boofulls
Comment Utility
0
 
LVL 16

Accepted Solution

by:
maneshr earned 50 total points
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This video discusses moving either the default database or any database to a new volume.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now