Writing code with C# and VB.NET to create Outlook add-ins and other projects
I have multiple personal folder in outlook profile one each for Exchange server, POP3 and IMAP. Now when a new email comes from my POP3 account/server, I need to set some rule programmatically to show it under my POP3 folder (Ex folder is the default on). Please let me know (1) how can I set the rule programmatically for the new incoming mail to display under POP folder. (2) how can I determine the account type of the incoming mail (or is there any other criteria to differentiate the mail coming from different accounts).
Please let me know… I am using OL2003
Thanks in advance….
|