PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Restrict mail to certain domains only.
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Restrict mail to certain domains only.
![]() |
Restrict mail to certain domains only. |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hi all...Thanks in advance for your help.
Does anyone have any code to restrict email to certain domains. I get so much junk that it's made my email almost unusable. I'd like some code that checks for a domain. If it's not an "approved" domain then send it stright to delete. The process: On receive check domain If domain is = "mydomain.com" or domain is = "mydomain2.com" then do nothing, it comes into my inbox else send to delete end if On close of outlook i'll dump the deleted items. Thanks for your help. Lance |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

