in reply to Re: Controlling Email on Windows with Perl
in thread Controlling Email on Windows with Perl

Aaaah, the beauty. You, "linux guy," I direct my warmest regards to you. Your suggestion of using Net::POP3 works like a charm against Exchange. To hell with Outlook and such nonsense. Perl, once again, saves the day.

Much gratitude.

However, this is a "pull" from my perl script... I would have to set up a cron task and run the script periodically. A better solution would be if I can have the email server "kick" the script into action when a specific email is received? For that I will need access to the script from within the email server! Any ideas for that?

If I can't solve this then I will set up a periodic task, however, the latter would be more elegant.

  • Comment on Re: Re: Controlling Email on Windows with Perl

Replies are listed 'Best First'.
Re: Re: Re: Controlling Email on Windows with Perl
by saintbrie (Scribe) on Apr 16, 2004 at 11:10 UTC
    Yes that would be more elegant. If I were setting up such a system on a linux server, something like bugzilla's bugmail script (for instance), I'd use procmail to trigger the script when I received a message from the mail server. Does Exchange have such a concept?