> Can anybody suggest a free email component that will access the default
> email program (ie outlook) and be able to create and define a
> new message?
The simplist way is to use Simple MAPI. This is available in Delphi and
can be used to talk to any mailer that supports it. Outlook and Outlook
Express definetly do. The only drawback is that if you want to create a
message and then get the user to edit it, Simple MAPI does all the editing
as a modal dialog.
The second trick is to use the Shell open command on a message URL
(mailto:[EMAIL PROTECTED] etc) and I think that you can include some text,
but I'm unsure of the exact syntax here. Its talked about on the web
somewhere.
The thrid way to go is to use full MAPI, the headers are available from
JEDI, but this involves some seriously convoluted code and an extensive
knowledge of the suff that is documented as Exchange Extentions (because
Outlook started life as the Windows Exchange client). This allows full
access to all the Outlook internals, and can do some way cool stuff once
you grok the wierd API defiition. On the other hand it is rather over
kill...
Cheers, Max.
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"