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]","address2@somewhere.com"
                    Item.Delete
                    Exit For
            End Select
Random Solutions  
 
programming4us programming4us