writing a macro to throw emails that contain pictures to trash

G

Guest

i have been getting a lot of spam lately that is consistently of the same
form. i keep on getting emails from different people with different email
addresses and different names. the one thing that is common is that the body
of the email is a picture of text, not text itself. just so it is
clearer...i am getting emails that contains pictures of text so when i reply
i can't just simply cut and paste a particular text because there is no
text...it is a picture. i can't seem to use the rule wizard to throw these
types of emails straight to trash so i want to use vba. how would i do this?

thanks!!
 
M

Michael Bauer

Am Fri, 28 Apr 2006 03:19:01 -0700 schrieb windows314:

If I do understand you right, you can check in the ItemAdd event of the
Inbox each incoming mail: If the Body property is empty and the e-mail
contains an attachment then it´s propably what you´re looking for.
 

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