Simple VBA code for this please.

T

typingcat

Outlook's built-in filter doesn't provide the detailed things I need so
I want to filter it with my own VBA script. But I don't know where to
start. Please give a simple code for this operation. Then I'll be able
to start writing more advanced code using that code as an initiative.

FOREACH mail IN newly arrived mails
{
IF ( mail's address ends with "@yahoo.co.cn")
{
DELETE mail
}
}

Thank you for your advice!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top