Apache camel 驼峰路线过滤掉自动回复邮件
我正在使用camel rout来使用收件箱文件夹中的电子邮件。 但我想过滤掉自动回复的电子邮件,比如离开办公室等 我看到有一个选项,可以使用optionApache camel 驼峰路线过滤掉自动回复邮件,apache-camel,Apache Camel,我正在使用camel rout来使用收件箱文件夹中的电子邮件。 但我想过滤掉自动回复的电子邮件,比如离开办公室等 我看到有一个选项,可以使用optionunseen=true只处理未读邮件 我用于使用电子邮件的URI如下所示: pop3://username@host?password=password;delete=true&unseen=true&consumer.delay=60000 我认为您要查找的是要添加到端点URI的searchTerm属性 如果要
unseen=true
只处理未读邮件
我用于使用电子邮件的URI如下所示:
pop3://username@host?password=password;delete=true&unseen=true&consumer.delay=60000
我认为您要查找的是要添加到端点URI的
searchTerm
属性
如果要过滤掉其中包含术语外出的电子邮件,则端点URI可能如下所示:
pop3://username@host.com?password=password;delete=true&searchTerm.subjectOrBody=Out+Of+Office&searchTerm.unseen=true
searchTerm属性允许您根据以下几个其他条件进行搜索:
更多文档可在此处找到-那么问题是什么?“searchTerm.from-邮件必须来自给定的电子邮件模式。”电子邮件模式是什么?具体在哪里?我在驼峰邮件中找不到任何东西,JavaMail似乎也没有提及——至少我找不到htat