Hi Sue,
Appreciate your reply but:
That third party package is way too extensive for what I'm wanting to do
(even the lite version). If a programmer cant do this sort of customisation
in Outlook without having to go to extremes then there is something wrong
with the Outllook implmentation.
Here is what I'm trying to accomplish:
1) Customised text (per folder) which could be different depending on
whether I send a reply or forward or new message.
2) Attach a file to a 'Reply' message. This file is anyways the same name
and in the same location.
Is that really so difficult to achieve ?
What i'm confused about is the function of publishing forms. I've managed to
publish a custom form to a specific folder but when I click reply or forward
etc. that form doesn't seem to open as the template for my message. I
believe I'm missing something here about the way the forms are published or
the functionality.
Anyway my thought on publishing a custom form was that I could attach some
code behind that form to achieve what I'm after and it wont affect messages
sent from other folders.
There are some events that seem like they might be applicable i.e Reply
event and Forward event.
and there is an example in the help file which i've kind of got working.
Im trying to trap those events when I click the reply or forward button and
when the message is selected in the list of messages as opposed to being
open. I can try those events when the message has been opened.
There is a property that returns the currentfolder so I could use this to
determine which folder related text to use.
The Attachments class has a add method which should enable me to add the
attachment so this is no problem provided I can determine the current
folder.
I seems to be stuck trying to work out where this code is placed i.e in the
'ThisOutlookSession' or behind a custom form in script etc.
Maybe you or someone can give me a few pointers now or simply let me know
I'm barking up the wrong tree.
Thanks again for your help,
Paul.
Sue Mosher said:
I recommend that you take a look at the Email Templates application from
http://www.emailtemplates.com. It can do what you want and a lot more. Doing
it in Outlook code is potentially *very* complicated.