我正在尝试使用以下查询从我的gmail收件箱中提取邮件:
client.search(["(UNSEEN)", "FROM", "support@abcd.com", "SUBJECT", "I need help"])
我遇到以下错误:
criteria='"%s"' % criteria if not isinstance(criteria, list) else criteria
imapclient.exceptions.InvalidCriteriaError: b'Could not parse command'
This error may have been caused by a syntax error in the criteria: ['(UNSEEN)', 'FROM', 'support@abcd.com', 'SUBJECT', 'I need help']
查询正确吗?