Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  email filters exact match

    Posted 01-28-2020 08:28
    Edited by Jordan Miller 01-28-2020 08:37
    No replies, thread closed.
    Hello all,

    I'm trying to change our spam email queue filter which has the word "sex" in it, due to our company being from the UK this is causing problems as there are some locations with that word in it, E.G "wessex" and this is causing customer emails who state they live in that area to go into SPAM. 

    Here is the expression I'm using for our spam filter, is there a way to have this be an exact match, so that it doesn't pick up as part of a word like wessex? 
    Contains(toString(Email.Message.body) , "Sex", true)


    Thanks
    #ArchitectureandDesign

    ------------------------------
    Jordan Miller
    People's Postcode Lottery
    ------------------------------


  • 2.  RE: email filters exact match

    Posted 01-28-2020 08:56
    No replies, thread closed.
    Could you simply add spaces around the word "sex"?

    Contains(Lower(ToString(Email.Message.body)), " sex ", true)​


    ------------------------------
    Steve Owen
    Avtex Solutions, LLC
    ------------------------------



  • 3.  RE: email filters exact match

    Posted 01-28-2020 09:18
    Edited by Jordan Miller 01-28-2020 09:33
    No replies, thread closed.
    That worked as it should. I was testing by only emailing in with the actual word without spaces before or after, therefor it was going to my default queue and not the spam. 

    After using the word in a sentence, it then worked as it should. 


    Thanks,

    ------------------------------
    Jordan Miller
    People's Postcode Lottery
    ------------------------------