@ppr
not able to combine schema and normal filter condition
“@SQL= urn:schemas:httpmail:subject Like '%” + variableSubject + “%’ AND [ReceivedTime] >= '” + Now.ToUniversalTime.toString(“07/MM/yyyy 00:00:00”) + “'”
Error:
Read Lsa mails: Cannot parse condition. Error at “@SQL= urn:schemas:httpmail:subject Like …”.
String.Format("@SQL=(""urn:schemas:httpmail:subject"" like '%{0}%') AND (""urn:schemas:httpmail:datereceived"" >= '{1}' ) AND (""urn:schemas:httpmail:datereceived"" < '{2}' )",VarFilter,varStartRange, varEndRange)
with following schema
varStartRange = “07/20/2022 00:00”
Which we also can produce by
YourDateTimeVar.toString(“MM/dd/yyyy 00:00”)