Action on New Mail

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want a form to pop up with new mail with 4 options; Defer, Delete, Deal,
Delegate.

If I select Defer, I want it to create an task with the email as a copied
link.
If I select Delete, I want to delete it.
If I select Deal, I want to display the email.
I I select Delegate, I want it to create a task, ask me who to delegate it
to and send this to the delegated with the email as a link.

Where would I start with something like this.
 
That's a tall order! BTW, your question is more central to forms
development; the microsoft.public.outlook.program_forms group is a better
location for these topics.

First, start with creating a custom IPM.Post form (call it
IPM.Post.NewMailOptions or something) that you will publish to your Inbox
folder forms library. Design the form with the controls you need to display
your choices.

Then in the code behind the form, wire your cmdOK_Click button (or whatever
you call it) to evaluate the values of the option controls to automate your
Task or MailItem objects as appropriate. Consult the Outlook Visual Basic
Reference (usually in "C:\Program Files\Microsoft Office
2003\OFFICE11\1033\VBAOL11.CHM") for assitance and examples for these
operations.

Also see:

Microsoft Outlook Forms:
http://www.outlookcode.com/d/forms.htm

Visual Basic and VBA Coding in Microsoft Outlook:
http://www.outlookcode.com/d/vb.htm

This should get you started.
 
Back
Top