Filter any/all emails from a domain.

50,443 views
Skip to first unread message

wsal...@gmail.com

unread,
May 14, 2014, 7:44:33 PM5/14/14
to gmail-po...@googlegroups.com
Hi,

My first post here.

I wanted to see if there is a way to have gmail filter any or all emails from a domain.

So for example,

Lets say I have a filter for emails from "jo...@domainname.com" setup to be labeled as "DOMAIN_NAME".

That works.

Now I want to add ji...@domainname.com to the filter, which I would add like this


Ok that works too.

But this is rather annoying every time I need to add a new person from that domain.

I wanted to know if there is a way to just add some code or script that would check @domainname.com, regardelss of the name in front of the @ symbol.

Thanks.

Zack (Doc)

unread,
May 14, 2014, 9:44:10 PM5/14/14
to GMail Power Users Group
Just search from:domainname.com... it might pick up some false positives, but it will pick up the ones you want.



--
--
You received this message because you are subscribed to the Google Groups "GMail Power Users" group.
To post to this group, send email to gmail-po...@googlegroups.com
To unsubscribe from this group, send email to gmail-power-us...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/gmail-power-users?hl=en
To send a message to the owner, visit the following page:
http://groups.google.com/group/gmail-power-users/post?sendowner=1&hl=en

---
You received this message because you are subscribed to the Google Groups "GMail Power Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gmail-power-us...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Andrew Ingraham

unread,
May 14, 2014, 10:52:38 PM5/14/14
to [gmail-power-users]
I use @domainname.com all the time in my Filters.

I don't know if the '@' there in my search term makes any difference.  I leave it there to hopefully avoid false positives such as "domainn...@otherdomain.com", which isn't in the domain but it contains the search term if I didn't include the '@'.  I know some things in search terms are ignored by Gmail.

Andy


wsal...@gmail.com

unread,
May 18, 2014, 2:02:36 PM5/18/14
to gmail-po...@googlegroups.com
Thanks guys. Im going to try these out right now. Will try to post results as they happen. Thanks!

wsal...@gmail.com

unread,
May 20, 2014, 8:10:46 PM5/20/14
to gmail-po...@googlegroups.com
WORKS! Thanks!


On Wednesday, May 14, 2014 4:44:33 PM UTC-7, wsal...@gmail.com wrote:
Reply all
Reply to author
Forward
0 new messages