Skip to main content
Nina_Valtcheva5
Level 4
Apr 23, 2015 8:20 PM UTC
Solved

Targeting Email Domains

I have a list of email domains that I need to target. I tried using the query "Email Address contains @xxxxxxx.com" but it looks like the "contains" constraint looks for strings and it will pick up any string even if it apart of a larger one.

Is there a way to target the entire domain string?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Accepted solution
Apr 23, 2015 8:33 PM UTC
Dropping the domain in between the @ and the .com should constraint it for you to target specific domains.

For example if you have contains @mail.com; this should exclude @gmail.com. Is it not doing this?

4 replies

Accepted solution
Apr 23, 2015 8:33 PM UTC
Dropping the domain in between the @ and the .com should constraint it for you to target specific domains.

For example if you have contains @mail.com; this should exclude @gmail.com. Is it not doing this?
Translate
Josh_Hill13
Level 10
Apr 23, 2015 8:37 PM UTC
you can use

domain.com

instead of @domain.com, which is more specific.
Translate
Nina_Valtcheva5
Level 4
Apr 23, 2015 8:50 PM UTC
Thanks for the help!

So actually we were just targeting domain.com but now added in the @ in front which should fix it.
Translate
SanfordWhiteman
User Group Leader
User Group Leader
Apr 24, 2015 3:45 AM UTC
Actually this also includes @example.com.au and suchlike.  It's not a perfect solution.  To get more accurate create an ALL filter CONTAINS @example.com and NOT CONTAINS .com.
Translate