V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
reorx
V2EX  ›  Google

[ Gmail ]filter过滤多个关键词,关系为"or"而不是"and"

  •  
  •   reorx · 2010-11-16 21:51:44 +08:00 · 8410 次点击
    这是一个创建于 4881 天前的主题,其中的信息可能已经有所发展或是发生改变。
    我有这样两个邮件列表:[email protected], [email protected]

    我想创建一个能够将两个列表中的邮件都包含的filter,该如何做呢?

    之前针对一个邮件列表时,filter写的是"Has the words: zqtech"(或者"To: [email protected]也行"),根据这个原理,应该让Gmail知道你想让包含文字为'zqtech' or 'zqtech',呃,显然这样写是不行的,我想,Gmail应该能够识别一种分隔符,像","等同于关系and那样,起到or的效果。

    求各位googler指导~
    4 条回复    1970-01-01 08:00:00 +08:00
    keakon
        1
    keakon  
       2010-11-16 22:36:37 +08:00   ❤️ 1
    说个简单的方法,创建2个filter

    Matches: to:([email protected])
    Do this: Apply label "zqtech"

    Matches: to:([email protected])
    Do this: Apply label "zqtech"

    然后访问zqtech标签
    rse43
        2
    rse43  
       2010-11-16 23:33:35 +08:00
    试试看下面这个条件:
    list:"<zqcode.googlegroups.com>" OR list:"<zqtech.googlegroups.com>"
    reorx
        3
    reorx  
    OP
       2010-11-17 22:15:44 +08:00
    呵呵,现在问题解决啦,昨天直接去翻Gmail的help文档去了,顺便也找到了一些其他有用的东西

    http://mail.google.com/support/bin/answer.py?hl=en&answer=8931
    http://mail.google.com/support/bin/answer.py?answer=7190

    第二个链接提供了Gmail里使用的一套搜索规则
    reorx
        4
    reorx  
    OP
       2010-11-17 22:18:05 +08:00
    @rse43 而且不仅仅是"OR",使用正则中的 | ,也能起到同样的效果
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5492 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 01:37 · PVG 09:37 · LAX 18:37 · JFK 21:37
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.