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

Custom rule to filter on sender name



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 11th 09, 04:23 PM posted to microsoft.public.outlook.program_vba
Philip Beaurline
external usenet poster
 
Posts: 4
Default Custom rule to filter on sender name

I am getting a lot of spam with things like "viagra" and "cialis" in the
sender name, where the sender address changes constantly. I'd like a rule to
filter on this. Can anyone tell me how?

Thanks
Philip
  #2  
Old November 11th 09, 04:59 PM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Custom rule to filter on sender name



Create a rule for specific words in the text, there's no need for VBA.

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Wed, 11 Nov 2009 08:23:08 -0800 schrieb Philip Beaurline:

I am getting a lot of spam with things like "viagra" and "cialis" in the
sender name, where the sender address changes constantly. I'd like a rule

to
filter on this. Can anyone tell me how?

Thanks
Philip

  #3  
Old November 12th 09, 02:27 PM posted to microsoft.public.outlook.program_vba
Philip Beaurline
external usenet poster
 
Posts: 4
Default Custom rule to filter on sender name

Thanks for your reply.

I do have rules for the sender address, subject, message header and message
body, but they don't catch words in the SenderName field. I am trying to
cobble together a custom rule but my VBA skills are next to nothing.

"Michael Bauer [MVP - Outlook]" wrote:



Create a rule for specific words in the text, there's no need for VBA.

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Wed, 11 Nov 2009 08:23:08 -0800 schrieb Philip Beaurline:

I am getting a lot of spam with things like "viagra" and "cialis" in the
sender name, where the sender address changes constantly. I'd like a rule

to
filter on this. Can anyone tell me how?

Thanks
Philip

.

  #4  
Old November 12th 09, 05:55 PM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Custom rule to filter on sender name



The message header should do it.

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Thu, 12 Nov 2009 06:27:02 -0800 schrieb Philip Beaurline:

Thanks for your reply.

I do have rules for the sender address, subject, message header and

message
body, but they don't catch words in the SenderName field. I am trying to
cobble together a custom rule but my VBA skills are next to nothing.

"Michael Bauer [MVP - Outlook]" wrote:



Create a rule for specific words in the text, there's no need for VBA.

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Wed, 11 Nov 2009 08:23:08 -0800 schrieb Philip Beaurline:

I am getting a lot of spam with things like "viagra" and "cialis" in the
sender name, where the sender address changes constantly. I'd like a

rule
to
filter on this. Can anyone tell me how?

Thanks
Philip

.

  #5  
Old November 12th 09, 07:55 PM posted to microsoft.public.outlook.program_vba
Philip Beaurline
external usenet poster
 
Posts: 4
Default Custom rule to filter on sender name

Well I thought so too. Something is apparently blocking the rule from reading
the SenderName in the header. I tested this by creating a rule that
successfully detected part of the email address, but my Sender Name rule
would not detect anything in SenderName. Hence my quest to make a custom
rule. Is there something I am missing?

Thanks for your help with this.

"Michael Bauer [MVP - Outlook]" wrote:



The message header should do it.

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Thu, 12 Nov 2009 06:27:02 -0800 schrieb Philip Beaurline:

Thanks for your reply.

I do have rules for the sender address, subject, message header and

message
body, but they don't catch words in the SenderName field. I am trying to
cobble together a custom rule but my VBA skills are next to nothing.

"Michael Bauer [MVP - Outlook]" wrote:



Create a rule for specific words in the text, there's no need for VBA.

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Wed, 11 Nov 2009 08:23:08 -0800 schrieb Philip Beaurline:

I am getting a lot of spam with things like "viagra" and "cialis" in the
sender name, where the sender address changes constantly. I'd like a

rule
to
filter on this. Can anyone tell me how?

Thanks
Philip
.

.

  #6  
Old November 12th 09, 09:02 PM posted to microsoft.public.outlook.program_vba
Philip Beaurline
external usenet poster
 
Posts: 4
Default Custom rule to filter on sender name

Oh nevermind. I just figured out that the rule filter words are case
sensitive. Argh.

"Philip Beaurline" wrote:

Well I thought so too. Something is apparently blocking the rule from reading
the SenderName in the header. I tested this by creating a rule that
successfully detected part of the email address, but my Sender Name rule
would not detect anything in SenderName. Hence my quest to make a custom
rule. Is there something I am missing?

Thanks for your help with this.

"Michael Bauer [MVP - Outlook]" wrote:



The message header should do it.

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Thu, 12 Nov 2009 06:27:02 -0800 schrieb Philip Beaurline:

Thanks for your reply.

I do have rules for the sender address, subject, message header and

message
body, but they don't catch words in the SenderName field. I am trying to
cobble together a custom rule but my VBA skills are next to nothing.

"Michael Bauer [MVP - Outlook]" wrote:



Create a rule for specific words in the text, there's no need for VBA.

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Wed, 11 Nov 2009 08:23:08 -0800 schrieb Philip Beaurline:

I am getting a lot of spam with things like "viagra" and "cialis" in the
sender name, where the sender address changes constantly. I'd like a

rule
to
filter on this. Can anyone tell me how?

Thanks
Philip
.

.

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
marked as not junk, set as safe sender and created rule zugfrig1978 Outlook - General Queries 1 August 29th 08 06:50 AM
no sender, no subject - message rule? Mark Leffler Outlook Express 2 February 22nd 08 02:37 PM
Removing a rule from a sender Kevin Outlook - General Queries 2 April 7th 07 09:02 PM
Custom Rule - from specific sender which contains... [email protected] Outlook and VBA 4 March 15th 07 01:29 PM
rule based on sender? sandgroper Outlook - Installation 3 July 30th 06 10:03 AM


All times are GMT +1. The time now is 11:36 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.