It should be as simple as:
Response.MessageClass = "IPM.Note.whatever"
Response.Display
where Response is the item passed as an argument by the CustomAction event.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at
http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.slipstick.com/books/jumpstart.htm
"Suzette" <(E-Mail Removed)> wrote in message news:010701c3424b$ac642310$(E-Mail Removed)...
>
> I've already used the CustomAction event handler & have
> met my if statement already but how do I change the
> MessageClass to use/send the particular form that I want?
>
>
> >-----Original Message-----
> >You'll need to code this into the CustomAction event
> handler, changing the MessageClass of the Response item.
> >
> >"suzette" <(E-Mail Removed)> wrote in message
> news:088201c33ff4$ddb9d760$(E-Mail Removed)...
> >> How do I automate choosing what form to use when a
> certain
> >> condition is met plus a certain action was chosen.
> >>
> >> Example: if the recipient is equal to a certain email
> >> address and the action button pressed was Yes, then
> form1
> >> is sent otherwise it sends form2.
> >>
> >> Thanks!
> >.
> >