需要点一下mail
如果邮件服务器是域名的方式,可以在命令提示符窗口,查看本机连接获取服务器ip地址
强烈推荐收发mail
https://zwindr.blogspot.com/2016/01/python-lotus-notes-send-read-mail.html
https://github.com/nongcunqq/Lotus_Notes_Python
根据时间,根据标题检索邮件
from_lntime = notesSession.CreateDateTime(since.strftime('%d/%m/%Y %H:%M:%S'))
print(since, print(from_lntime))
collection = notesDatabase.Search("@IsResponseDoc", from_lntime, 0)
collection = notesDatabase.Search('@Contains(Subject;"SIDD:Poland A Damage Ticket has been logged to SIDD - ID")', from_lntime, 0)
print(1, collection.Count)
看第三个演示
https://help.hcltechsw.com/dom_designer/9.0.1/appdev/H_EXAMPLES_SEARCH_METHOD.html
formula language参考
https://help.hcltechsw.com/dom_designer/9.0.1/appdev/H_WHERE_DOES_THIS_FUNCTION_WORK_PART_A.html
转换notes时间格式的方法是在这个git上看到的
https://github.com/zejn/lnlib