Had an email make it by an advanced filter I have created. filter looks for office@domain and an email to Office@domain got by...
can anyone verify the scripts are not supposed to be case-sensitive by default?
found a forum article that indicated they not not supposed to be as of 2009:
https://www.mailenable.com/forum/viewtopic.php?f=3&t=19584&p=70811&hilit=case+sensitive#p70811
Scripted filters
-
- Posts: 154
- Joined: Mon May 24, 2010 2:27 pm
Scripted filters
Kent Runyan
CFDynamics.com
Providing World Class Hosting Solutions for over two decades.
CFDynamics.com
Providing World Class Hosting Solutions for over two decades.
-
- Site Admin
- Posts: 9738
- Joined: Mon Mar 22, 2004 4:44 am
- Location: Melbourne, Victoria, Australia
Re: Scripted filters
Hi,
Can you post up the script filter example?
Can you post up the script filter example?
Regards,
Ian Margarone
MailEnable Support
Ian Margarone
MailEnable Support
-
- Posts: 154
- Joined: Mon May 24, 2010 2:27 pm
Re: Scripted filters
I added the * before and after each of the ME_TOorCC just prior to posting the issue here
If CriteriaMet([ME_TOorCC],"*office@customerdomain.com*") and not CriteriaMet([ME_FROM],"*@customerdomain.com*") then
FilterResult=1
ELSE
IF CriteriaMet([ME_TOorCC],"*FLoffice@customerdomain.com*") and not CriteriaMet([ME_FROM],"*@customerdomain.com*") then
FilterResult=1
ELSE
IF CriteriaMet([ME_TOorCC],"*planners@customerdomain.com*") and not CriteriaMet([ME_FROM],"*@customerdomain.com*") then
FilterResult=1
ELSE
IF CriteriaMet([ME_TOorCC],"*plannersplus@customerdomain.com*") and not CriteriaMet([ME_FROM],"*@customerdomain.com*") then
FilterResult=1
ELSE
IF CriteriaMet([ME_TOorCC],"*USContracting@customerdomain.com*") and not CriteriaMet([ME_FROM],"*@customerdomain.com*") then
FilterResult=1
end if
end if
end if
end if
end if
If CriteriaMet([ME_TOorCC],"*office@customerdomain.com*") and not CriteriaMet([ME_FROM],"*@customerdomain.com*") then
FilterResult=1
ELSE
IF CriteriaMet([ME_TOorCC],"*FLoffice@customerdomain.com*") and not CriteriaMet([ME_FROM],"*@customerdomain.com*") then
FilterResult=1
ELSE
IF CriteriaMet([ME_TOorCC],"*planners@customerdomain.com*") and not CriteriaMet([ME_FROM],"*@customerdomain.com*") then
FilterResult=1
ELSE
IF CriteriaMet([ME_TOorCC],"*plannersplus@customerdomain.com*") and not CriteriaMet([ME_FROM],"*@customerdomain.com*") then
FilterResult=1
ELSE
IF CriteriaMet([ME_TOorCC],"*USContracting@customerdomain.com*") and not CriteriaMet([ME_FROM],"*@customerdomain.com*") then
FilterResult=1
end if
end if
end if
end if
end if
Kent Runyan
CFDynamics.com
Providing World Class Hosting Solutions for over two decades.
CFDynamics.com
Providing World Class Hosting Solutions for over two decades.
-
- Posts: 154
- Joined: Mon May 24, 2010 2:27 pm
Re: Scripted filters
bump
Kent Runyan
CFDynamics.com
Providing World Class Hosting Solutions for over two decades.
CFDynamics.com
Providing World Class Hosting Solutions for over two decades.
-
- Site Admin
- Posts: 9738
- Joined: Mon Mar 22, 2004 4:44 am
- Location: Melbourne, Victoria, Australia
Re: Scripted filters
Hi,
Best way forward would be to lodge a support ticket and provide the example message that is not triggering the filter.
Best way forward would be to lodge a support ticket and provide the example message that is not triggering the filter.
Regards,
Ian Margarone
MailEnable Support
Ian Margarone
MailEnable Support