Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > MAPI Server...

Reply
Thread Tools

MAPI Server...

 
 
Mike Monaghan
Guest
Posts: n/a
 
      10-07-2004
I have inherited a glueware application that I'd like to convert to
Python. To avoid a long discussion here's how the application
works...

A voice mail system uses MAPI to pass a message to Outlook Express.
Since Outlook Express has protection to prevent worms another program
hits the "It's okay to allow this" button. Outlook then passes the
message to a SMTP server that puts the raw message in a file where
another program can pickup and parse the message into something
usable.

There's a lot of parts to this and to put it mildly I'm not really
happy with the way this is all put together. I can't change the MAPI
call from the voicemail system. The rest is open to debate.

The voicemail system treats Outlook as a MAPI server. Is there any
support in Python to emulate this role? I'd rather not reinvent the
wheel. By emulating the Outlook Express' MAPI server I could take
Outlook, The button presser, the SMTP server, and a major part of the
last program out of the chain and provide a simple Python application
to do the job. The logic in this isn't complex so python seems like a
natural if I can emulate the MAPI Server in Python. Any references to
libs or source code would be great.

Thanks,

Mike
 
Reply With Quote
 
 
 
 
ross lazarus
Guest
Posts: n/a
 
      10-07-2004
Google is often a wonderful friend of first recourse in these
situations. The first result for
python mapi
is
http://aspn.activestate.com/ASPN/Coo.../Recipe/149461
which just might give you a start.

Mike Monaghan wrote:

> I have inherited a glueware application that I'd like to convert to
> Python. To avoid a long discussion here's how the application
> works...
>
> A voice mail system uses MAPI to pass a message to Outlook Express.
> Since Outlook Express has protection to prevent worms another program
> hits the "It's okay to allow this" button. Outlook then passes the
> message to a SMTP server that puts the raw message in a file where
> another program can pickup and parse the message into something
> usable.
>
> There's a lot of parts to this and to put it mildly I'm not really
> happy with the way this is all put together. I can't change the MAPI
> call from the voicemail system. The rest is open to debate.
>
> The voicemail system treats Outlook as a MAPI server. Is there any
> support in Python to emulate this role? I'd rather not reinvent the
> wheel. By emulating the Outlook Express' MAPI server I could take
> Outlook, The button presser, the SMTP server, and a major part of the
> last program out of the chain and provide a simple Python application
> to do the job. The logic in this isn't complex so python seems like a
> natural if I can emulate the MAPI Server in Python. Any references to
> libs or source code would be great.
>
> Thanks,
>
> Mike

 
Reply With Quote
 
 
 
 
Mike Monaghan
Guest
Posts: n/a
 
      10-07-2004
Ross,

Reading my post again I was as clear as mud.

I'm looking to emulate the MAPI Server (Outlook Express in this case).
I want the application to be seen as the system's MAPI server so the
voicemail system will pass its data directly to the Python program.
The voicemail system acts as the MAPI Client and I have no control
over it.

Thanks,

Mike


ross lazarus < arvard.edu> wrote in message news:<J129d.2489$Ua.454@trndny01>...
> Google is often a wonderful friend of first recourse in these
> situations. The first result for
> python mapi
> is
> http://aspn.activestate.com/ASPN/Coo.../Recipe/149461
> which just might give you a start.
>

 
Reply With Quote
 
Elbert Lev
Guest
Posts: n/a
 
      10-07-2004
(Mike Monaghan) wrote in message news:<. com>...

Mike!

In essence you are asking if somebody implemented MAPI service
provider in Python. Actually the voice-mail designers made not a bad
decision: OE is installed on every windows machine, including the
server, where voice-mail is running. It is a default e-mail client (if
one does not install Outlook or something else). So all SMAPI calls
are executed by OE. The only problem IMHO is this "press-damn-button"
application. In fact this is not required. You can uncheck the option
(warn me when other application ....) on the security tab in the
Options dialog box of OE. Otherwise all looks OK. Do not forget to
restart the voice-mail. I bet, they open the mapi session once at the
start of the program and then use it
 
Reply With Quote
 
 
 
Reply

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
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
Getting MAPI to fetch() from a different directory? Ted ASP .Net 1 07-03-2004 07:30 PM
Error occurred while initializing MAPI in Outlook Express 6 Michael MCSE 5 09-17-2003 05:39 PM
Unable to logon Profile MS Exchange Settings [Collaboration Data Objects - [MAPI Pat Sinnott ASP .Net 0 07-07-2003 11:21 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57