• Subject: Create or Import a Outlook Rule through C# code.
  • Author: JIGNESH
  • Date: 31 May 2010
  • References:
Outlook 2007
.NET 3.5 with VS2008.

In outlook manually i can create a rule which looks like below. I am looking
for a code sample which can do the same. Rule is :-

"Apply this rule after message arrives
with "ABC" in the subject
reply using "c:\users\xxxxxx...\Templates\STDReply.oft"
and delete it"

if via code its not possible, then I am looking for some code, which can
help me to import the Rule file containing above rule.

Any Directions, Clue, Code Sample/ Hit will help.

Note: I had a looked at Outlook.Rule object, but I could not found my
solution.

Regards
31 May 2010Create or Import a Outlook Rule through C# code..JIGNESH
31 May 2010\ RE: Create or Import a Outlook Rule through C# code..Sue Mosher [MVP]
31 May 2010   \ RE: Create or Import a Outlook Rule through C# code..JIGNESH
Contact Us
All times are in (US) Eastern Daylight Time (GMT -4:00)