Re: Filter Email addresses
- From: Michael Bauer <mb@xxxxxxxx>
- Date: Sat, 26 Nov 2005 09:55:34 +0100
Am Fri, 25 Nov 2005 07:54:01 -0800 schrieb John Mansfield:
Frank, in OL 2003 you could add a rule that handles all incoming messages
and determine via the Rule Wizard that a script should be executed. Create a
function in "ThisOutlookSession", which needs to look like this:
Public Sub DoSomething(oMail as Outlook.MailItem)
....
End Sub
Within the function check the MailItem.SenderEMailAddress property. If it
doesn´t match what you´re looking for then move the message into
DeletedItems and delete it.
--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
> I would like to automatically delete any email from a sender or senders
that
> do not have a "@brown.edu" extension. In other words, if the sender/s are
> not from Brown, I want to automatically delete the email. Can a rule or
> macro be set up to automatically do this?
>
> Thanks for your help.
>
> Regards,
> Frank Jones
.
- Prev by Date: Re: Unable to record macro
- Next by Date: Re: Which profile has been selected?
- Previous by thread: Re: Unable to record macro
- Next by thread: Schedule Repeat sending file outlook 2003
- Index(es):
Relevant Pages
|