Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9251819
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T10:47:45+00:00 2026-06-18T10:47:45+00:00

The only time I get emails with 5+ recipients is when the office gossip

  • 0

The only time I get emails with 5+ recipients is when the office gossip is going around. I would love to make a rule/filter to move any incoming message with more than 5 recipients into a junk folder.

Is that possible with Outlook 2010? I could not find anything like that in the default rules, wasn’t sure if you could VBA the rule via Macro or something.

Any insight, help, or resources are appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T10:47:46+00:00Added an answer on June 18, 2026 at 10:47 am

    I wrote the VBA script using the resources DeanOC provided if anyone is interested.

    This script takes all incoming emails and counts the recipients in the To: field,if recipient count is greater than 5, marks it as read, and moves is to a Gossip folder.

    There is also a secondary condition to check if subject contains CVS (we get updates from our concurrent version system which has 10 recipients) and move is to the appropriate folder.

    Sub moveOfficeGossip(item As Outlook.MailItem)
    
        Dim strNames As String, i As Integer, j As Integer, cvs As String
        Dim olApp As New Outlook.Application
        Dim olNameSpace As Outlook.NameSpace
        Dim olDestFolder As Outlook.MAPIFolder
    
        j = 1
        cvs = "CVS"
        strNames = item.To
        Set olNameSpace = olApp.GetNamespace("MAPI")
    
        For i = 1 To Len(strNames)
            If Mid(strNames, i, 1) = ";" Then j = j + 1
        Next i
    
        If (j >= 5) Then
            If InStr(UCase(item.subject), cvs) Then
                Set olDestFolder = olNameSpace.Folders("Personal Folders").Folders("Filtered").Folders("CVS")
                item.Move olDestFolder
            Else
                Set olDestFolder = olNameSpace.Folders("Personal Folders").Folders("Filtered").Folders("Gossip")
                item.UnRead = False
                item.Move olDestFolder
            End If
        End If
    
    End Sub
    

    I apologize if this is not in the most formal format and I know that it can be organized a bit better, but this was my first attempt at using any Visual Basic syntax.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I get this cryptic error the first time (and only the first time) my
Question: I need to get the DATE ONLY (= date WITHOUT time) with an
I'm needing to send around 500-2500 emails out at a time to internal email
how to insert only time in hh:mi in oracle and how to run select
Quick version of my question: Is the only time you need to use lock
how can I have a data set of only time intervals (no dates) in
According to the DCPU specification , the only time a SET instruction fails is
The app I'm working on has a self contained database. The only time I
I want to save a query only one time in the database, this is
According to the documentation: max_execution_time only affect the execution time of the script itself.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.