![]() |
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 am currently using Outlook 2007 as my email program. One of the accounts
is a work account that I setup as an IMAP. There is a separate work account that I have forwarded to the first account. When a message is forwarded it shows as a message from me (Postmaster on behalf of Me) with the original message as a attachment. Is there a way to programmatically have any messages of this type have the attachment copied to the IMAP's inbox and the original message marked for deletion? Thank you. |
Ads |
#2
|
|||
|
|||
![]() You can use the ItemAdd event of the folder. In that event check the Item's SenderEmailAddress, or whatever identifies the message you're looking or, then save the attachment as a file, with that file call the CreateItemFromTemplate function, and add the returned object to the folder's Items collection. Eventually you can call the Delete method of the received message. -- Best regards Michael Bauer - MVP Outlook : Outlook Categories? Category Manager Is Your Tool : VBOffice Reporter for Data Analysis & Reporting : http://www.vboffice.net/product.html?pub=6&lang=en Am Mon, 21 Sep 2009 13:01:01 -0700 schrieb Aaron: I am currently using Outlook 2007 as my email program. One of the accounts is a work account that I setup as an IMAP. There is a separate work account that I have forwarded to the first account. When a message is forwarded it shows as a message from me (Postmaster on behalf of Me) with the original message as a attachment. Is there a way to programmatically have any messages of this type have the attachment copied to the IMAP's inbox and the original message marked for deletion? Thank you. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I setup my IMAP inbox folder to be my main inbox? | cervenyc | Outlook - Installation | 3 | January 10th 07 08:17 PM |
Newbie question: How to copy an email item from inbox to a folder | Marceepoo | Outlook and VBA | 1 | November 1st 06 06:54 PM |
Forwarding a copy of a form from a Public Folder to a user's inbox | Bubba Smith | Outlook - Using Forms | 5 | October 10th 06 03:57 PM |
What's going on with the trick to copy Sent Items to IMAP folder? | Santiago | Outlook - General Queries | 1 | August 20th 06 03:28 AM |
IMAP sent items should copy to sent folder on server not PST | dhhoitz | Outlook and VBA | 0 | May 31st 06 01:05 AM |