有一个Perl模块来监视邮件队列吗?
我正在处理问题跟踪系统,并希望应用程序处理电子邮件回复。也就是说,我想要一个可以监视电子邮件队列并根据电子邮件内容执行某些操作的脚本。然后应该可以删除电子邮件等。
I'm working on an issue tracking system and would like the application to handle email replies. That is, I would like a script that can monitor an email queue and perform some action based on the email contents. It should then be able to delete the email, etc.
我目前使用MIME :: Lite发送电子邮件,我可以处理写脚本等(请参阅:我对Perl并不陌生)但是,我不知道什么模块对这个特定的任务是有好处的。我想尽快开始这个工作,所以我希望缩小我的搜索空间可能的模块。
I currently use MIME::Lite to send email, and I can handle writing the script etc. (read: I'm not new to Perl). However, I have no idea what modules are good for doing this particular task. I'd like to get started on this as quickly as possible so I hope to narrow my search space for possible modules.
如果你需要知道,应用程序将运行在标准linux,Perl,MySQL堆栈与Exchange作为邮件服务器。
In case you need to know, the application will be running on a standard linux, Perl, MySQL stack with Exchange as the mail server.
任何人都可以建议一个Perl模块来帮助我?任何与此相关的教程或最佳做法也将有所帮助。
Can anyone suggest a Perl module to help me out? Any tutorials or best practices related to this would also be helpful.
谢谢!
Do you have access to the Exchange server via IMAP or WebDAV?
对于IMAP:
- Mail::IMAPClient
- IMAP::Client
- Net::IMAP::Client
- Email::Folder::IMAP
对于WebDAV:
- Email::Folder::Exchange
POP3也如果在服务器上启用该选项,则可以使用该选项。如果您有IMAP,IMAP可能是要走的路。
POP3 would also be an option if it's enabled on the server. IMAP is probably the way to go if you've got it.