Maybe this is a bit much, but I'll ask anyway.

I would like suggestions.

Here is what I am trying to do:

I would like to have an application that reads e-mail as it comes in (from an MS Exchange Server), converts the subject and the body of the text to be placed in a template (used by another program for helpdesk tickets), then sends the mail via SMTP to another mail account.

The application needs to run in the background as a service, and has to log on as a service to the machine that it will be run on (That way the default Exchange profile can be used.)

Here's what I've found to be useful so far:

win32::MAPI

win32::API

Net::Telnet (Instead of Net::SMTP, I don't know why, just did)

I think the real issue will be the running as a service user for the exchange profile so that the Win32::MAPI module works properly.

Any ideas/suggestions? :-)

-Josh


In reply to MAPI & Windows 2000 Service Daemon by JNudell

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.