我正在尝试使用 DASL 查询来过滤发件人和收件人不同的电子邮件。尝试了以下但似乎不起作用。请问我在这里做错什么了吗?
我收到一条错误消息“无法在...解析条件”
Dim PR_RECEIVED_BY_NAME as String = "http://schemas.microsoft.com/mapi/proptag/0x0040001E"
Dim PR_SENT_REPRESENTING_NAME as String = "http://schemas.microsoft.com/mapi/proptag/0x0042001E"
strFilter = "@SQL=" & "%last7days(urn:schemas:httpmail:datereceived)% AND (" & PR_RECEIVED_BY_NAME & "<>" & PR_SENT_REPRESENTING_NAME & ")