<div>Hi Wayne,</div>
<div>&nbsp;</div>
<div>If you want to go the html way . . heres a hands on way that will make plain to you what other more comprehensive components are doing.</div>
<div>&nbsp;</div>
<div>Using Outlook express under windows, make an email using HTML format, not plain Text, use some font and colouring , put a TO address, a couple of CC and&nbsp;some BCC addreses into it, and then save it as an email on the hard disk (that will use the EML extension).
</div>
<div>&nbsp;</div>
<div>Open the generated email.EML in a plain text editor.</div>
<div>&nbsp;</div>
<div>You'll get a good idea of what you can achieve and how to simply get your information in to it, doing it as Todd suggested making a function or component that hooks into your own dataset.</div>
<div>&nbsp;</div>
<div>Key note: put some&nbsp;simple text in the plain text area telling people that you want them to view an HTML email.</div>
<div>&nbsp;</div>
<div>Put your generated&nbsp;HTML in the html area.<br>&nbsp;</div>
<div>You can use Indy components or TurboPower internet components to send the generated .eml file directly. Some of those l;et you laod the email as a stream of one sort or another and you can by [-ass putting it on disk. 
</div>
<div>&nbsp;</div>
<div>If you want you can save the file to disk as an .EML and shellexecute it to make it open in OE or other registered mail client &nbsp;for sending.<br>&nbsp;</div>
<div><span class="gmail_quote">On 24/11/05, <b class="gmail_sendername">Wayne Roser</b> &lt;<a href="mailto:rr@kristin.school.nz">rr@kristin.school.nz</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I've written a program to email timetables to staff at my school.<br>Now I want the timetables to look good.
<br>I want to attach a file to the email that shows a pretty picture of their timetable.<br>I'm wondering about html. Save to disk and attach to email.<br>Where can I read about producing an html document that'll look like a grid or table?
<br>Am I looking in the wrong direction?<br>Wayne<br><br>_______________________________________________<br>Delphi mailing list<br><a href="mailto:Delphi@ns3.123.co.nz">Delphi@ns3.123.co.nz</a><br><a href="http://ns3.123.co.nz/mailman/listinfo/delphi">
http://ns3.123.co.nz/mailman/listinfo/delphi</a><br></blockquote></div><br>