GetOutlookMailMessages筛选多个条件

我先筛选同时满足多个条件的邮件,例如

“@SQL=”“urn:schemas:httpmail:textdescription”" like ‘%请查收申请单%’"

“[SenderEmailAddress] = ‘no-reply@microsoft.com’”

应该怎么写啊?
AND 连接两个条件似乎并不正确:

“@SQL=”“urn:schemas:httpmail:textdescription”" like ‘%请查收申请单%’ AND [SenderEmailAddress] = ‘no-reply@microsoft.com’"

这样写试一下

"@SQL=urn:schemas:httpmail:textdescription like '%请查收申请单%' AND urn:schemas:httpmail:fromemail = 'no-reply@microsoft.com'"

可以了,谢谢! :grinning:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.