A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Tags: , , , , , ,

writing a macro to throw emails that contain pictures to trash





 
 
Thread Tools Display Modes
  #1  
Old April 28th 06, 12:19 PM posted to microsoft.public.outlook.program_vba
windows314
external usenet poster
 
Posts: 6
Default writing a macro to throw emails that contain pictures to trash

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!!
Ads
  #2  
Old April 30th 06, 10:12 AM posted to microsoft.public.outlook.program_vba
Michael Bauer
external usenet poster
 
Posts: 435
Default writing a macro to throw emails that contain pictures to trash

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.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.vbOffice.net --


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!!

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Writing emails in doc format Craig Outlook Express 2 March 20th 06 09:01 AM
OL2003 writing copies of all emails to c:\ Dave Outlook - Installation 2 March 8th 06 05:29 PM
I can't open pictures sent to me in emails using outlook 2003 lest616 Outlook - Installation 1 March 2nd 06 05:03 PM
Allowing pictures in emails Happy Outlook Express 2 February 15th 06 11:08 PM
VB Macro fails on Digitally Signed Emails Outlook Dabbler Outlook and VBA 3 January 27th 06 04:59 PM


All times are GMT +1. The time now is 06:20 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2008 Outlook Banter, part of the NewsgroupBanter project.
The comments are property of their posters.
Turbo Tax - Loans - Cheap Loan - Credit Cards - Online Loans