You can handle the NewInspector event on the Inspectors collection, which
will fire every time a new email is opened. See
www.outlookcode.com for lots
of Outlook code samples.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
"Andrew Kennard" wrote in message
...
Hi all
I am looking at the possibility of automating outlook to send single one
off and large group mailings using Outlook as an ActiveX in my (Visual
Dataflex) application
The main reason is that the client wants to be able to construct and send
HTML emails with images etc from our application.
Ideally I would like to allow them to setup the email in out look using
its font, formatting and image abilities etc
Then within my app be able to 'pick this up' and email it to a small or
large group of people as INDIVIDUAL messages.
I would also like to be able to do a one off email where I tell outlook to
show the new message window which the header fields filled in (and perhaps
some of the body) they just then complete the message and click send.
There are plenty of email ocx's out there but none that I have found seem
to handle the construction of a HTML message with a wysiwyg editor like
outlook
Thanks in advnace for any tips !
Kind Regards
Andrew