有一个Perl模块来监视邮件队列吗? [英] Is there a Perl module to monitor an email queue?

查看:148
本文介绍了有一个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.

谢谢!

推荐答案

您是否可以通过 Exchange 服务器:IMAPrel =nofollow noreferrer> IMAP 或 WebDAV

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.

这篇关于有一个Perl模块来监视邮件队列吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆