脚本向导-帮助文档

脚本向导-帮助文档


获取Outlook邮件消息

<h1>功能</h1> <p>获取outlook的邮件信息。</p> <h1><strong>输入</strong></h1> <table> <thead> <tr> <th>名称</th> <th>说明</th> <th>举例</th> </tr> </thead> <tbody> <tr> <td>邮件文件夹</td> <td>【字符串】邮件文件夹邮件消息对象'</td> <td>'收件箱'</td> </tr> <tr> <td>账户对应的目录名称</td> <td>【字符串】用于访问待检索邮件消息的账户,不填则为默认账户</td> <td>'个人文件夹'</td> </tr> </tbody> </table> <h1><strong>选项</strong></h1> <table> <thead> <tr> <th>名称</th> <th>说明</th> <th>举例</th> </tr> </thead> <tbody> <tr> <td>筛选器</td> <td>【字符串】检索邮件的筛选器的字符串</td> <td>'[ReceivedTime]&lt;&quot;2021/01/31&quot;'</td> </tr> <tr> <td>仅未读消息</td> <td>【复选框】指定是否仅检索未读消息。默认情况下,此复选框处于选中状态。</td> <td>否</td> </tr> <tr> <td>标记为已读</td> <td>【复选框】指定是否检索到的邮件标记为已读。默认情况下,清除此复选框。</td> <td>否</td> </tr> <tr> <td>顶部</td> <td>【Integer】TopN,只收取前N条邮件消息,默认30</td> <td>3</td> </tr> </tbody> </table> <h1><strong>输出</strong></h1> <table> <thead> <tr> <th>名称</th> <th>说明</th> <th>举例</th> </tr> </thead> <tbody> <tr> <td>消息</td> <td>【Tlist邮件列表】邮件列表变量,填入变量名称。</td> <td>邮件列表</td> </tr> </tbody> </table> <h1><strong>注意/说明</strong></h1> <p>1.参数【筛选器】是用于邮件检索的字符串,常用的有: (1)按接收日期[ReceivedTime]进行筛选,如'[ReceivedTime]&lt;&quot;2021/01/31&quot;'或'[ReceivedTime]&lt;&quot;2021/01/31 12:00&quot;'; (2)按邮件主题[Subject]进行筛选,如'[Subject]=&quot;Failure of classification accuracy&quot;'; (3)按发件人显示名称进行筛选,如'[发件人]=&quot;张三&quot;'; (4)按邮件收件人进行筛选,如'[收件人]=&quot;mut@163.com&quot;';</p> <p>2.使用outlook相关函数时建议关闭outlook程序,否则可能会报“服务器运行失败,ProgID:Outlook.Application”错误 3.使用该函数前,需要安装并且配置outlook。</p> <h1>相关函数</h1> <p>无</p> <h1><strong>示例/演示</strong></h1> <p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/7f23591b828188b89eb1a44f3412158a" alt="" /></p> <h1><strong>示例附件</strong></h1> <p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/cd89a9af85228cc0c4eb6822c1ac0339" title="[组件[获取outlook邮件消息函数例子]_20210413.db">组件[获取outlook邮件消息函数例子]_20210413.db</a></p>

页面列表

ITEM_HTML