1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need Help W/ Gmail Boolean AND

Discussion in 'BlackHat Lounge' started by The Scarlet Pimp, Jan 27, 2017.

Thread Status:
Not open for further replies.
  1. The Scarlet Pimp

    The Scarlet Pimp Senior Member

    Joined:
    Apr 2, 2008
    Messages:
    884
    Likes Received:
    3,324
    Occupation:
    Chair moistener.
    Location:
    Cyberspace
    I need to file e-mails into a folder if the e-mail has two specific strings, like this:

    1st word: truck
    2nd word: &sd

    Is there a way to use the AND function in the message body to move an e-mail to a folder? I tried: truck &sd but the e-mails still go to the inbox.
     
  2. louiszhao

    louiszhao Regular Member

    Joined:
    Apr 18, 2014
    Messages:
    220
    Likes Received:
    268
    Have you tried: truck + &sd yet?
     
  3. nikchaing

    nikchaing Jr. VIP Jr. VIP UnGagged Attendee

    Joined:
    Apr 24, 2013
    Messages:
    1,114
    Likes Received:
    2,192
    Location:
    Florida
    if truck and &sd are always next to each other, then you could use the " " search operator: "truck &sd"
    if truck and &sd are always separated, then you can use the AROUND operator if you know how many words apart they could be: truck AROUND 4 &sd
     
  4. The Scarlet Pimp

    The Scarlet Pimp Senior Member

    Joined:
    Apr 2, 2008
    Messages:
    884
    Likes Received:
    3,324
    Occupation:
    Chair moistener.
    Location:
    Cyberspace
    yes, but it still isn't filing into the right folder.

    tried using the 'AROUND' tag and it still isn't working...
     
    Last edited: Jan 28, 2017
  5. HoNeYBiRD

    HoNeYBiRD Jr. VIP Jr. VIP

    Joined:
    May 1, 2009
    Messages:
    7,505
    Likes Received:
    8,433
    Gender:
    Male
    Occupation:
    Geographer, Tourism Manager
    Location:
    Ghosted
    Have you tried creating a label then a filter? After you created the label, create a new filter, there will be a box called "Has the words", i'd think if you input the two strings, "truck &sd" (without the quotation marks) into the box, it should work. Hit "Create filter with this search", on the next page apply the label. You can apply the filter not just for new incoming emails, but retrospectively too ("Also apply filter to matching conversations"). Hit "Create filter" and i guess that's it.

    If it doesn't work, you can download all the emails with a tool like gmvault and i guess it will be easier to search in a database.
     
  6. The Scarlet Pimp

    The Scarlet Pimp Senior Member

    Joined:
    Apr 2, 2008
    Messages:
    884
    Likes Received:
    3,324
    Occupation:
    Chair moistener.
    Location:
    Cyberspace
    i made a label and a filter, i think the problem is the tracking code is touching some other words. like this: truck&sd
     
  7. The Scarlet Pimp

    The Scarlet Pimp Senior Member

    Joined:
    Apr 2, 2008
    Messages:
    884
    Likes Received:
    3,324
    Occupation:
    Chair moistener.
    Location:
    Cyberspace
    never mind... i got it working! :D
     
Thread Status:
Not open for further replies.