Move sent items
- From: Brian Tetlow <Brian.Tetlow.1zesy0@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 2 Dec 2005 11:02:45 +0100
I am running an IMAP server and am wanting to move sent emails to the
"Sent" folder on the IMAP server.
I have it currently set up as a rule but want to change to VB as the
rule
turns itself off from time to time for unknown reasons. I have the
rule
set up on three computers and it turns off on each computer from time
to time.
I have added the following sub in "Microsoft Office Outlook Objects"
"Thisoutlooksession"
Initially, I thought I would just get it to move the sent emails to the
Inbox.
Private Sub olSentItems_ItemAdd(ByVal Item As Object)
Item.Move
Application.GetNamespace("MAPI").GetDefaultFolder (olFolderInbox)
End Sub
The sent emails are not moved to either the Personal Folders Inbox or
the Inbox on the IMAP server. I have tried it with "Saves copies Of
messages In Sent Items folder" checked and unchecked and also with the
rule off.
I would appreciate any advice.
Thanks,
--
Brian Tetlow
------------------------------------------------------------------------
Brian Tetlow's Profile: http://www.highdots.com/forums/m1516
View this thread: http://www.highdots.com/forums/t3125809
.
- Prev by Date: Re: Code to create "Keep In Touch" Tasks
- Next by Date: Move sent emails
- Previous by thread: Re: Setting Account for Mails
- Next by thread: Move sent emails
- Index(es):
Relevant Pages
|
|