The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::Wubot::Plugin::OsxMailApp - monitor OS X mailbox file for new messages

VERSION

version 0.3.3

SYNOPSIS

  ~/wubot/config/plugins/OsxMailApp/work.yaml

  ---
  directory: /Users/myid/Library/Mail/DOM-userid@some.host.com/in.xxxxbox/Messages
  delay: 1m

DESCRIPTION

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.

WHY

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.

SUBROUTINES/METHODS

check( $inputs )

The standard monitor check() method.