A
Andrew Kennard
Hi all
Please can someone tell me if the following is possible :-
I would like to automate Outlook 2003 (and beyond) using the ocx/object
model interface from another application
These are the kind of things I would like to be able to do
1) Fire up the new message dialogue with the To field completed by the
calling program. The user then complete a HTML message using all the outlook
features and clicks send. I would then like the calling app to get an ID
back so that I could then reopen the message from Sent Items etc at a later
time
2) I would also like to be able to do personalised 'bulk' emails where the
body has specific information from the calling app unique to each record
message. ie a mailmerge type email run where every message is in effect
unique. Is it passible for the user to setup the message in say the drafts
folder with [Title] [Forename] [Surname] type markers and then an external
application be able to read the HTML body of the message make the necessary
subsititions and then sned a new message back to outlook for it to send. The
reason I want to take this sort of approach is that I want to use the power
of outlooks HTML message creation but need to be able to tightly controll it
from my own app so data from database records can be used to create
individual messages and also as each message is sent I want to be able to
mark each database record with date/time stamp as it goes
There are masses of OCX's out there that will do SMTP mail sending etc there
are also HTML editor OCX's that are designed for web page creation. BUT I
cannot find anywhere something that will create a proper HTML message and
send it ..... other than outlook.
Hoping someone else has been here before where they want good quality
flexible (ie not just 'fixed' invoices/statements etc) HTML email
integration embedded into their own software
Thanks in advance
Andrew
Please can someone tell me if the following is possible :-
I would like to automate Outlook 2003 (and beyond) using the ocx/object
model interface from another application
These are the kind of things I would like to be able to do
1) Fire up the new message dialogue with the To field completed by the
calling program. The user then complete a HTML message using all the outlook
features and clicks send. I would then like the calling app to get an ID
back so that I could then reopen the message from Sent Items etc at a later
time
2) I would also like to be able to do personalised 'bulk' emails where the
body has specific information from the calling app unique to each record
message. ie a mailmerge type email run where every message is in effect
unique. Is it passible for the user to setup the message in say the drafts
folder with [Title] [Forename] [Surname] type markers and then an external
application be able to read the HTML body of the message make the necessary
subsititions and then sned a new message back to outlook for it to send. The
reason I want to take this sort of approach is that I want to use the power
of outlooks HTML message creation but need to be able to tightly controll it
from my own app so data from database records can be used to create
individual messages and also as each message is sent I want to be able to
mark each database record with date/time stamp as it goes
There are masses of OCX's out there that will do SMTP mail sending etc there
are also HTML editor OCX's that are designed for web page creation. BUT I
cannot find anywhere something that will create a proper HTML message and
send it ..... other than outlook.
Hoping someone else has been here before where they want good quality
flexible (ie not just 'fixed' invoices/statements etc) HTML email
integration embedded into their own software
Thanks in advance
Andrew