App::Wubot::Plugin::OsxMailApp - monitor OS X mailbox file for new messages
version 0.3.0
~/wubot/config/plugins/OsxMailApp/work.yaml --- directory: /Users/myid/Library/Mail/DOM-userid@some.host.com/in.xxxxbox/Messages delay: 1m
This plugin parses the cache files of the OS X Mail.app file for newly received messages.
Each time a new email file shows up in the directory, a message will get sent containing each of the mail headers, with the field name in lower case.
You might ask yourself why a person would want to do such a thing. The answer is that I have to monitor an exchange mailbox. The most reasonable client I can use with exchange is OS X's Mail.app. Since I can't communicate well with exchange from perl, it is actually much easier to just to read the Mail.app cache files.
The standard monitor check() method.
To install Wubot, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Wubot
CPAN shell
perl -MCPAN -e shell install Wubot
For more information on module installation, please visit the detailed CPAN module installation guide.