![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi All,
When I read new mail from my INBOX, I use the below code: Set InputFolder = Application.GetNamespace("MAPI").GetDefaultFolder( olFolderInbox) If InputFolder.Items(intCount).UnRead = True Then I want to read INBOX mails from my other Mail Accounts like "MailBox-RateCountry" & "MailBox-Finance Accounts" . In this case how can i set InputFolder like above code.... Thanks in advance for your reply. |
Ads |
#2
|
|||
|
|||
![]()
Take a look at the Namespace.GetSharedDefaultFolder method.
-- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Vadhimoo" wrote in message ... Hi All, When I read new mail from my INBOX, I use the below code: Set InputFolder = Application.GetNamespace("MAPI").GetDefaultFolder( olFolderInbox) If InputFolder.Items(intCount).UnRead = True Then I want to read INBOX mails from my other Mail Accounts like "MailBox-RateCountry" & "MailBox-Finance Accounts" . In this case how can i set InputFolder like above code.... Thanks in advance for your reply. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I set Forwarding e-mail to use my default account? | AlTurner | Outlook - Installation | 3 | October 10th 06 05:21 PM |
Display (not set) default mail account | Mark Tangard | Outlook and VBA | 2 | June 4th 06 09:48 AM |
How do I set up pop3 account to receive mail in a separate folder? | Butcherboy | Outlook - Installation | 3 | May 22nd 06 02:07 PM |
how do I set up e-mail account | Wendy | Outlook - Installation | 3 | April 13th 06 03:15 AM |
how do i set up a second e.mail account for my partner | GPD | Outlook - Installation | 1 | January 28th 06 01:08 AM |