Outlook should let me prioritize rules to run before junk filters

G

Guest

Outlook should let me prioritize certain rules to run before junk mail filters.

I want to be able to say that mail from my mailing lists is not junk.
 
B

Brian Tillman

Damen Gilland said:
Outlook should let me prioritize certain rules to run before junk
mail filters.

I want to be able to say that mail from my mailing lists is not junk.

Then add those mailing list addresses to your Safe Senders list.
 
G

Guest

Brian Tillman said:
Then add those mailing list addresses to your Safe Senders list.
That approach doesn't work with mail lists such as the ones from Craig's
List (craiglist.org). Job emails, for example, are sent from the email
account of the job poster, and not to a specific list account, so Outlook's
junk filter can't filter it.
 
G

Guest

Adding mailing list addresses to Safe List does NOT always work, especially
when recipients are allowed to share information with other recipients on
that mailing list.
 
G

Guest

Based on other threads I have read this is not possible. It is a shame
because I am a member of a distribution list which routes emails from senders
using the sender's actual email address. It is not practical to add every
sender in that distribution list to my Safe Senders List. Instead I have to
manually run a rule on the Junk Mail folder over and over again.

Microsoft, if you are reading this, please give us an option to make our
rules take precedence over the Junk Mail Filter!
 
G

Guest

Looks like I'll be writing a plugin to handle this one. I gotta have this
feature because I use rules to mark certain items as read before the junk
email filter moves them. That way I don't get 50 UNREAD junk emails per day
in the junk folder when 49 of them would be caught by this rule.
 
2

280Z28

Writing the plugin took me all of 30 minutes. Congrats to MS on the
incredibly simple SDK for Office 2007.
 
S

Sue Mosher [MVP-Outlook]

What approach did you take? I was thinking it might be useful to use ItemsAdd on the Junk E-mail folder to run all the rules on demand.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
2

280Z28

static string GetMailItemHeaders( Outlook.MailItem item )
{
const string PR_TRANSPORT_MESSAGE_HEADERS =
"http://schemas.microsoft.com/mapi/proptag/0x007D001E";
Outlook.PropertyAccessor oPropAccessor = item.PropertyAccessor;
string headers = (string)oPropAccessor.GetProperty(
PR_TRANSPORT_MESSAGE_HEADERS );
return headers;
}

void JunkItems_ItemAdd( object Item )
{
try
{
if ( !(Item is Outlook.MailItem) )
return;

Outlook.MailItem mailItem = (Outlook.MailItem)Item;

if ( !mailItem.UnRead )
return;

string headers = GetMailItemHeaders( mailItem );
if ( headers.Contains( "X-Spam-Flag: YES" ) )
{
mailItem.UnRead = false;
}
}
catch
{
}
}

What approach did you take? I was thinking it might be useful to use
ItemsAdd on the Junk E-mail folder to run all the rules on demand.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

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