Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Windows: Mapi wrapper to redirect email to a script?

Thread Tools

Windows: Mapi wrapper to redirect email to a script?
Posts: n/a

I have a scanner with a scanning software that has a "scan to email"
button, that opens a mapi email client (e.g. outlook express) and
attaches the scanned file.
What I would like instead is a "scan to script" button (after the
scan, a (perl/bash/python...) script X is run with
the name of the scanned file as parameter).
So I thought I could "program" my own MAPI mail client in perl (as
outlook express substitute) that does
nothing but runs program X. However, the whole mapi business seems a
bit tiresome.
So my question: does there already exist a nice mapi "wrapper", that
can be registered as mapi
email client in windows XP (so that I can later select it as email
client in the scan software) and that does basically nothing (in my
case, just decode the attachment information and then run an external
program X with the
attachement file name as parameter)?
I could imagine that such a wrapper is quite complicated if it has to
comply with all possible mapi scenarios, but I would be quite happy
with a mapi wrapper that just works in the scenario mentiones, it can
just produce error codes in all other cases (e.g. if another program
requests the address book or whatever else mapi was made for).


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Service Wrapper/Proxy/Redirect David05 ASP .Net Web Services 2 09-10-2008 01:44 PM
Send Email with MAPI madfisher ASP .Net 2 01-12-2006 07:05 PM
MAPI extension for non-MAPI enabled email clients? hugh jass Computer Support 0 02-11-2005 12:20 PM
Thunderbird , MAPI & VB6 trixar Firefox 0 12-12-2004 11:27 PM
Basic Q - Response.Redirect, all redirect to first Response.Redirect statement Sal ASP .Net Web Controls 1 05-15-2004 03:46 PM