HTML in Email messages

swift
09-14-2000, 10:41 AM
Hi all,

I have a program that reads in a text file, does some data manipulation, and is then meant to send out an e-mail with the results. I found some simple SMTP mail sending code on the net, and everything was working like a charm.

Then I realized that my e-mails are not being read properly by my e-mail client. My results are a table of data that I organize into columns by spacing it with exact numbers of spaces (ugh! I know), and I cannot get my e-mail client (Outlook Express) to read it in a single spaced font.

So, I have two questions, and I hope someone has an answer. How can I get an e-mail client to read something in a single-spaced font (like Courier)? Or, alternatively I could put an HTML <pre> tag in there, but how do I let OE know that it has to read the embedded HTML tags in the message? I assume it's in the mail header, but I don't know the syntax...

TIA

Steve

karimahta
09-15-2000, 01:46 PM
Look in your sent items folder in Outlook express and check out some emails you have sent with bold, etc.

Right mouse click on message header, select properties then select the Details tab then click on the Message Source button and you will have an example of sending HTML. What it all means, I have no idea, but you should be able to work it out.


HTH

P.S. Watch out how you use the PRE tag as it makes your messages really llooonnnnggg and difficult to read.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum