How create a Rule to filter sender's email with more that one @ sign

Status
Not open for further replies.

megasis

New Member
Outlook version
Outlook 2013 64 bit
Email Account
POP3
All,
lately, the spammers are using fake emails with several @ signs to skip specific domain RULES.
Below there are 2 examples of the senders email I would like to filter and move to an specific folder:

info@tafevc.whitecture.commailings@earthlink.netmailings@airbnb.commailings@linkedin.commailings@gmail.com
info@irwk.treamedals.commailings@earthlink.netmailings@airbnb.commailings@linkedin.commailings@gmail.com

I know I cannot use wildcard on the sender email rule, like this *@*@* <-- this will work if the * was a valid Wildcard for any character combination on Sender's email.

On my Outlook 2013 I created a subfolder under Inbox called Suspected:

Inbox
....Suspected
Drafts
Sent Items


I've found some reference on using scripts as an alternativity, but I'm not cleat on how to set the subfolder, in the sample blow they set the target folder to "Move" but how can I set it to "Inbox/Suspected" ?

Sub MoveInvoices(Item As Outlook.MailItem)
Dim MoveFolder As Folder
Set MoveFolder = Session.GetDefaultFolder(olFolderInbox)
Set MoveFolder = MoveFolder.Folders("Move")
If LCase(Item.Subject) Like LCase("*ai-so-?????*") = True Then
Item.Move MoveFolder
End If
End Sub

Also, let me know If there is another alternative, that doesn't need scripts.

Thanks in advance for all your help on this.
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
B Modify VBA to create a RULE to block multiple messages Outlook VBA and Custom Forms 0
P Can I create a Rule that sends me an email when I get a Task? Using Outlook 2
K VBA BeforeItemMove event create rule to always move to its folder. Outlook VBA and Custom Forms 4
Jennifer Murphy Can I create a Rule with Or'd conditions? Using Outlook 1
Stilgar Relsik Create a rule to copy text from an email and paste it in the subject line. Using Outlook 1
T Create Rule For Secondary E-Mail Address In Outlook 2016 Using Outlook 4
B Macro To Create Rule To Export From Certain Folder Email Information in one workbook multiple sheets Outlook VBA and Custom Forms 0
Diane Poremsky Create a Task from an Email using a Rule Using Outlook 0
I Create custom Outlook 2013 Rule in Office 365 Outlook VBA and Custom Forms 5
S Create a Rule Using Outlook 0
S Create a Rule Using Outlook 0
I shared mailbox - can i create a rule (vba) for every user? Outlook VBA and Custom Forms 1
S How can I create a rule to move inbound emails from any of my contacts out of Inbox? Using Outlook 1
L How to create server-side rule? Using Outlook 4
J Outlook Rule - Create Link in Forwarding Message Outlook VBA and Custom Forms 2
A Creating rule to create week folder and transfer mail using alert Using Outlook 3
D Create Exchange Rule for everyone that highlights an email based on content of subject Exchange Server Administration 1
G Create rule based on image in email body Using Outlook 1
Jennifer Murphy How to create a rule for organization messages Using Outlook 2
anoble1 Can you create a rule once an email moves to the Vault Inbox to another place? Using Outlook 0
S Create rule to effect archive only Using Outlook 4
C Create a rule to only check new content in email - disregard original content Using Outlook 3
M Create Rule to BCC email? Using Outlook 2
J Create or Import a Outlook Rule through C# code. Outlook VBA and Custom Forms 2
D Create a macro in Outlook to run a rule Outlook VBA and Custom Forms 32
N How to create hidden rule in outlook 2007 Outlook VBA and Custom Forms 3
Q How do I create a custom action for a rule? (Save as "Nfy.MSG") Outlook VBA and Custom Forms 1
S Create Outlook Task from Template and append Body with Email Body Outlook VBA and Custom Forms 4
J Want to create a button on the nav bar (module add-in) to run code Outlook VBA and Custom Forms 2
B How to create a button that sorts and selects the most recent message with ONE click Using Outlook 2
J PSA: How to create custom keyboard shortcut for "Paste Unformatted Text" in Outlook on Windows Outlook VBA and Custom Forms 1
W Create a Quick Step or VBA to SAVE AS PDF in G:|Data|Client File Outlook VBA and Custom Forms 1
Wotme create email only data file Using Outlook 1
S Outlook 365 Help me create a Macro to make some received emails into tasks? Outlook VBA and Custom Forms 1
J How to create a drop down user defined field that will appear on an inbox view Outlook VBA and Custom Forms 8
Commodore Any way to create "from-only" account on Outlook 2021? Using Outlook 1
L Capture email addresses and create a comma separated list Outlook VBA and Custom Forms 5
N Can't create NEW GROUP and add/remove a member from existing Group in Outlook Using Outlook 1
NVDon Create new Move To Folder list Outlook VBA and Custom Forms 0
C Create Meeting With Custom Form Outlook VBA and Custom Forms 2
D Create advanced search (email) via VBA with LONG QUERY (>1024 char) Outlook VBA and Custom Forms 2
G Create ordinal numbers for birthday Outlook VBA and Custom Forms 2
O Outlook 365 - How to create / copy a new contact from an existing one? Using Outlook 5
D Create new email from the received Email Body with attachment Outlook VBA and Custom Forms 10
A How to create fixed signatures for aliases that process through GMAIL? Outlook VBA and Custom Forms 0
B Can I create a local PST file for SPAM on a drive that is usually disconnected? Using Outlook 3
Chiba Create an appointment for all the members Outlook VBA and Custom Forms 1
S Create a clickable custom column field Outlook VBA and Custom Forms 0
O Create a custom contact form - questions before messing things up... Outlook VBA and Custom Forms 4
L automaticaly create a teams meeting with a sync Using Outlook 0

Similar threads

Back
Top