![]() |
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
|
|||
|
|||
![]()
I have an Access DB that links to a shared mailbox in Outlook (linked to the
Inbox). I have query that logs the receipt times of each email coming into the mailbox. Please note that I the linked mailbox is not my default Inbox. This DB is linked to shared mailbox on our server. I want to know if it is possible to create code that will have MS Access move specific emails to specific folder within this shared mailbox? I have already created a form that will allow the user to view each email separately. They will then select a folder to move the email to from a drop down menu on this form. I want Access to then move the email to this folder and out of the Inbox within Outlook. If anyone has any idea how to do this I would love to hear some of your suggestions. -- Hlewis |
#2
|
|||
|
|||
![]()
Only if you have the entire mailbox visible in your Outlook folder list, in other words, only if the mailbox added as a secondary mailbox through your Exchange account settings.
-- 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 "Hlewis" wrote in message ... I have an Access DB that links to a shared mailbox in Outlook (linked to the Inbox). I have query that logs the receipt times of each email coming into the mailbox. Please note that I the linked mailbox is not my default Inbox. This DB is linked to shared mailbox on our server. I want to know if it is possible to create code that will have MS Access move specific emails to specific folder within this shared mailbox? I have already created a form that will allow the user to view each email separately. They will then select a folder to move the email to from a drop down menu on this form. I want Access to then move the email to this folder and out of the Inbox within Outlook. If anyone has any idea how to do this I would love to hear some of your suggestions. -- Hlewis |
#3
|
|||
|
|||
![]()
It is visible in my Outlook folder. What would I do next?
-- Hlewis "Sue Mosher [MVP-Outlook]" wrote: Only if you have the entire mailbox visible in your Outlook folder list, in other words, only if the mailbox added as a secondary mailbox through your Exchange account settings. -- 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 "Hlewis" wrote in message ... I have an Access DB that links to a shared mailbox in Outlook (linked to the Inbox). I have query that logs the receipt times of each email coming into the mailbox. Please note that I the linked mailbox is not my default Inbox. This DB is linked to shared mailbox on our server. I want to know if it is possible to create code that will have MS Access move specific emails to specific folder within this shared mailbox? I have already created a form that will allow the user to view each email separately. They will then select a folder to move the email to from a drop down menu on this form. I want Access to then move the email to this folder and out of the Inbox within Outlook. If anyone has any idea how to do this I would love to hear some of your suggestions. -- Hlewis |
#4
|
|||
|
|||
![]()
To use the Move method, you need a MAPIFolder object for the target folder. To get a non-default folder in another mailbox, walk the folder hierarchy using the Folders collections or use a function that does that for you. See http://www.outlookcode.com/d/code/getfolder.htm
-- 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 "Hlewis" wrote in message ... It is visible in my Outlook folder. What would I do next? -- Hlewis "Sue Mosher [MVP-Outlook]" wrote: Only if you have the entire mailbox visible in your Outlook folder list, in other words, only if the mailbox added as a secondary mailbox through your Exchange account settings. -- 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 "Hlewis" wrote in message ... I have an Access DB that links to a shared mailbox in Outlook (linked to the Inbox). I have query that logs the receipt times of each email coming into the mailbox. Please note that I the linked mailbox is not my default Inbox. This DB is linked to shared mailbox on our server. I want to know if it is possible to create code that will have MS Access move specific emails to specific folder within this shared mailbox? I have already created a form that will allow the user to view each email separately. They will then select a folder to move the email to from a drop down menu on this form. I want Access to then move the email to this folder and out of the Inbox within Outlook. If anyone has any idea how to do this I would love to hear some of your suggestions. -- Hlewis |
#5
|
|||
|
|||
![]()
Sue,
I looked at this and the path appears to be "Mailbox - TLMS Cost/Inbox". This mailbox is not in a public folder. It is at the same level as my default mailbox. So would I use this in the sample code you provided? I'm sorry if I'm asking silly questions but I am still very new to this. Please be patient with me. :-) -- Hlewis "Sue Mosher [MVP-Outlook]" wrote: To use the Move method, you need a MAPIFolder object for the target folder. To get a non-default folder in another mailbox, walk the folder hierarchy using the Folders collections or use a function that does that for you. See http://www.outlookcode.com/d/code/getfolder.htm -- 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 "Hlewis" wrote in message ... It is visible in my Outlook folder. What would I do next? -- Hlewis "Sue Mosher [MVP-Outlook]" wrote: Only if you have the entire mailbox visible in your Outlook folder list, in other words, only if the mailbox added as a secondary mailbox through your Exchange account settings. -- 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 "Hlewis" wrote in message ... I have an Access DB that links to a shared mailbox in Outlook (linked to the Inbox). I have query that logs the receipt times of each email coming into the mailbox. Please note that I the linked mailbox is not my default Inbox. This DB is linked to shared mailbox on our server. I want to know if it is possible to create code that will have MS Access move specific emails to specific folder within this shared mailbox? I have already created a form that will allow the user to view each email separately. They will then select a folder to move the email to from a drop down menu on this form. I want Access to then move the email to this folder and out of the Inbox within Outlook. If anyone has any idea how to do this I would love to hear some of your suggestions. -- Hlewis |
#6
|
|||
|
|||
![]()
Yes, the basic technique of walking the folder hierarchy is the same, regardless of where in the hierarchy the folder may be located.
-- 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 "Hlewis" wrote in message ... Sue, I looked at this and the path appears to be "Mailbox - TLMS Cost/Inbox". This mailbox is not in a public folder. It is at the same level as my default mailbox. So would I use this in the sample code you provided? I'm sorry if I'm asking silly questions but I am still very new to this. Please be patient with me. :-) -- Hlewis "Sue Mosher [MVP-Outlook]" wrote: To use the Move method, you need a MAPIFolder object for the target folder. To get a non-default folder in another mailbox, walk the folder hierarchy using the Folders collections or use a function that does that for you. See http://www.outlookcode.com/d/code/getfolder.htm "Hlewis" wrote in message ... It is visible in my Outlook folder. What would I do next? -- Hlewis "Sue Mosher [MVP-Outlook]" wrote: Only if you have the entire mailbox visible in your Outlook folder list, in other words, only if the mailbox added as a secondary mailbox through your Exchange account settings. "Hlewis" wrote in message ... I have an Access DB that links to a shared mailbox in Outlook (linked to the Inbox). I have query that logs the receipt times of each email coming into the mailbox. Please note that I the linked mailbox is not my default Inbox. This DB is linked to shared mailbox on our server. I want to know if it is possible to create code that will have MS Access move specific emails to specific folder within this shared mailbox? I have already created a form that will allow the user to view each email separately. They will then select a folder to move the email to from a drop down menu on this form. I want Access to then move the email to this folder and out of the Inbox within Outlook. If anyone has any idea how to do this I would love to hear some of your suggestions. -- Hlewis |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Rule to Move to Folder AFTER being Read | yelnocer | Outlook - Installation | 1 | March 13th 06 12:40 AM |
how can i move a messeage to a certain folder before reading it? | Bilal | Outlook - Installation | 1 | February 22nd 06 01:24 PM |
Outlook Folder Move Event | Atul Sureka | Outlook and VBA | 0 | February 13th 06 06:09 AM |
Cannot move/delete messages from Sent folder | KBAR | Outlook Express | 1 | February 10th 06 04:49 PM |
move mail to storage folder | TuckerWheaten | Outlook Express | 4 | January 18th 06 02:22 PM |