Microsoft
Software
Hardware
Network
Question : Auto delete certain sent items - Outlook 2007
Hi guys,
How do you go about auto deleting sent items to a certain email address? I need to automatically delete anything sent to
[email protected]
.
I have looked at the Rules but I can't see an option to delete once you follow the 'action after message is sent' you can only move it as a copy to a folder.
Thanks
Steve
Answer : Auto delete certain sent items - Outlook 2007
Change this block of code
If LCase(olkRecipient.Address
) = "
[email protected]
" Then
Item.Delete
Exit For
End If
to
Select Case LCase(olkRecipient.Address
)
Case "
[email protected]
","ad
dress2@som
ewhere.com
"
Item.Delete
Exit For
End Select
Random Solutions
Windows 7 64 bit Connecting to SBS 2003 32 bit
Regex and VB.NET - Richtext selection
Dynamic combo box rowsource based on prior combo box value
VB.NET, 2005 - Maintain Scroll Position To DataGrid
Improving SQL Server 2005 performance (Database re-vamping help needed)
intermittent dead keys while typing
How to reset value to " " in userform textbox
Using VBA to transfer CSV in AC07
No Netware NDS Trees detected
Using Batch file to Obtain the Computernames, usernames, IP Address and MAC Address from each remote PCs