[DUG] Making a file with a table in it
Paul A Norman
paul.a.norman at gmail.com
Fri Nov 25 18:18:37 NZDT 2005
Hi Wayne,
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.
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 some BCC addreses into it, and then save it as an email on the hard disk
(that will use the EML extension).
Open the generated email.EML in a plain text editor.
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.
Key note: put some simple text in the plain text area telling people that
you want them to view an HTML email.
Put your generated HTML in the html area.
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.
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 for sending.
On 24/11/05, Wayne Roser <rr at kristin.school.nz> wrote:
>
> I've written a program to email timetables to staff at my school.
> Now I want the timetables to look good.
> I want to attach a file to the email that shows a pretty picture of their
> timetable.
> I'm wondering about html. Save to disk and attach to email.
> Where can I read about producing an html document that'll look like a grid
> or table?
> Am I looking in the wrong direction?
> Wayne
>
> _______________________________________________
> Delphi mailing list
> Delphi at ns3.123.co.nz
> http://ns3.123.co.nz/mailman/listinfo/delphi
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns3.123.co.nz/pipermail/delphi/attachments/20051125/2f48f3f9/attachment.html
More information about the Delphi
mailing list