Solved

scripting against spam in Outlook Express

Posted on 2003-11-28
7
1,005 Views
Last Modified: 2010-04-08
Having tried various email blocking programs, none of them can catch even half the spam (iHateSpam, SpamCatcher, etc.).

Using Outlook Express and the various blocking programs, it seems I can only block certain phrases from the subject line.

I want to write my own script to scan all subject lines-- a script that will send the spam email to a "blocked" or "spam" folder (the name doesn't matter).

I can script in any language, it doesn't matter (JavaScript, VBScript, WhateverScript).

For example, here are a few subject lines my ideal script solution would block:

1. hi (not just any subject line with that word, but that being the only printable word)
2. bmihura (my email name, not my first name)
3. V_i.a;gr.a (I'm smart enough to strip out non alpha-characters, or convert them)
4. V1ag;ra (see previous comment)
5. any empty subject line
6. a "white list" and "black list", both overriding all previous rules
0
Comment
Question by:bmihura
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 23

Accepted Solution

by:
slink9 earned 125 total points
ID: 9840903
The best solution for you is Outlook 2003.  It has awesome customizable spam filtering.  You can easily block entire domains.
0
 
LVL 9

Assisted Solution

by:svenkarlsen
svenkarlsen earned 125 total points
ID: 9840912
Hi bmihura,

I don't think it's possible to embed script filters in Outlook Express, - I believe you will have to use one of:
  - Outlook from MS Office
  - the Outlook Express Library Object and some Office Application as host
  - the Outlook Express Library Object called from a shell script and run sheduled

If you use POP3, I'd suggest Outlook as the best solution.

Kind regards,
Sven
0
 

Author Comment

by:bmihura
ID: 9841093
Thx slink9 and sven--

I'll give this a few days until somebody tells me otherwise, else you two share the points as I'm betting you're both right, and posted at pretty much the same time.

I am trying to avoid buying Outlook, that's why, I just want a simple solution where I can script-block.
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 44

Expert Comment

by:CrazyOne
ID: 9841227
I believe it can be done because both McAffee and Norton's spam filters some how integrated with OE to do it. I also know one can create programs to intercept OE mail before passing it on to OE.

Now I never heard or known about Outlook Express Library Object but I don't think what ever functions within in it are exportable. However I do know you can use SMAPI (Simple MAPI) to gain limited access to incoming and outgoing OE mail.

Alas though any code I have to do this is in Delphi and I have seen VB code that can do this but I don't know if VB Script is robust enough to do this.
0
 
LVL 9

Expert Comment

by:svenkarlsen
ID: 9842473
Checked up on the OE Library Object after CrazyOne's note, - it appears that I've accidentially checked on one of my older boxes where it was available.

However: the Outlook Express Object Library is 'not intended to be used', as stated by this note from MS:

http://support.microsoft.com/?kbid=216281


Regards,
Sven
0
 
LVL 44

Expert Comment

by:CrazyOne
ID: 9842492
Hehehe I love this statement in that link

"is likely to break in an unpredictable fashion"
0
 

Author Comment

by:bmihura
ID: 9844416
thank you for responding folks

will give it until Monday, hopefully some powergeek can make it happen in Outlook Express :)
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Install both Office 2010 and 2013 4 37
Info tab in iTune 9 21
Determine Outlook 2013 version. 4 14
how to play voicemails (.wav) on iphone 5 13
Outlook Free & Paid Tools
Many people use more than one email account and so it becomes difficult for them to manage them when they use separate accounts,  so, in this article, I have shared an easy way to add Other Mail Accounts in your Google Inbox. It helps to combine all…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question