Forwarding email in a specific folder only

Posted by Ian on Super User See other posts from Super User or by Ian
Published on 2012-02-16T17:30:25Z Indexed on 2013/06/28 10:24 UTC
Read the original article Hit count: 350

I ran across a post on Super User that addressed a question about Outlook email forwarding. One user provided a script to utilize.

Sub AutoForwardAllSentItems(Item As Outlook.MailItem)
Dim strMsg As String
Dim myFwd As Outlook.MailItem

Set myFwd = Item.Forward

myFwd.Recipients.Add "[email protected]"
myFwd.Send
Set myFwd = Nothing 
End Sub

This worked good for me, but how would it work if I want to just automatically forward email in a specific folder only? The folder already has email auto directed to it upon receipt. Any ideas?

© Super User or respective owner

Related posts about email

Related posts about microsoft-outlook