| Helen,
Below is the latest communication with the customer as well as
his code.
******************************************************************************
Debbie,
I did send you this before, and I did not bounce, so I am surprised
you did not receive it last week.
I am not sure what the bmapi reference is, though as I said, this code
works with MS Mail. The question left then is, what do I do to make a
mapireadmail, mapifindnext, and mapideletemail work with teamlinks?
Also, there are remaining questions about getting the Office routing
functionality from TL, and how to configure browers to launch TL on
an Email address on the web.
thanks
-kjeld
Here we go again.
_____________________________________________________________________-
'this is the declare section
Declare Function MAPILogoff Lib "MAPI.DLL" (ByVal Session&, ByVal UIParam&,
ByVal Flags&, ByVal reserved&) As Long
Declare Function BMAPIReadMail Lib "MAPI.DLL" (lMsg&, nRecipients&, nFiles&,
ByVal Session&, ByVal UIParam&, MessageID$, ByVal Flag&, ByVal reserved&) As
Long
Declare Function BMAPIGetReadMail Lib "MAPI.DLL" (ByVal lMsg&, Message As
MAPIMessage, Recip As MapiRecip, File As MapiFile, Originator As MapiRecip) As
Long
Declare Function MAPIFindNext Lib "MAPI.DLL" Alias "BMAPIFindNext" (ByVal
Session&, ByVal UIParam&, MsgType$, SeedMsgID$, ByVal Flag&, ByVal reserved&,
msgid$) As Long
Declare Function MAPISendDocuments Lib "MAPI.DLL" (ByVal UIParam&, ByVal
DelimStr$, ByVal FilePaths$, ByVal FileNames$, ByVal reserved&) As Long
Declare Function MAPIDeleteMail Lib "MAPI.DLL" (ByVal Session&, ByVal UIParam&,
ByVal msgid$, ByVal Flags&, ByVal reserved&) As Long
Declare Function MAPISendMail Lib "MAPI.DLL" Alias "BMAPISendMail" (ByVal
Session&, ByVal UIParam&, Message As MAPIMessage, Recipient As MapiRecip, File
As MapiFile, ByVal Flags&, ByVal reserved&) As Long
Declare Function MAPISaveMail Lib "MAPI.DLL" Alias "BMAPISaveMail" (ByVal
Session&, ByVal UIParam&, Message As MAPIMessage, Recipient As MapiRecip, File
As MapiFile, ByVal Flags&, ByVal reserved&, msgid$) As Long
Declare Function BMAPIAddress Lib "MAPI.DLL" (lInfo&, ByVal Session&, ByVal
UIParam&, Caption$, ByVal nEditFields&, Label$, nRecipients&, Recip As
MapiRecip, ByVal Flags&, ByVal reserved&) As Long
Declare Function BMAPIGetAddress Lib "MAPI.DLL" (ByVal lInfo&, ByVal
nRecipients&, Recipients As MapiRecip) As Long
Declare Function MAPIDetails Lib "MAPI.DLL" Alias "BMAPIDetails" (ByVal
Session&, ByVal UIParam&, Recipient As MapiRecip, ByVal Flags&, ByVal
reserved&) As Long
Declare Function MAPIResolveName Lib "MAPI.DLL" Alias "BMAPIResolveName" (ByVal
Session&, ByVal UIParam&, ByVal UserName$, ByVal Flags&, ByVal reserved&,
Recipient As MapiRecip) As Long
Declare Function MAPILogon Lib "MAPI.DLL" (ByVal UIParam&, ByVal User1$, ByVal
Password$, ByVal Flags&, ByVal reserved&, Session&) As Long
___________________________________________________________________-
'this is the section that calls the function
|
|
>I am not sure what the bmapi reference is, though as I said, this code
>works with MS Mail. The question left then is, what do I do to make a
>mapireadmail, mapifindnext, and mapideletemail work with teamlinks?
>
Well, from the look of the declaration section he sent, he is trying to
use the BMAPI calls. They are not defined in the TeamLinks Simple MAPI
DLL, so that will not work. He needs to call the MAPI calls directly.
Another thing he can try but I'm not certain if it'll work or not is
trying the VBAMAPI.DLL that Microsoft has. He can download this from
Microsoft's web site. I haven't tried it myself, but it defines the
BMAPI calls. I think it will then call into the MAPI DLL. He's just
going to have to try it out. If that works fine, otherwise he'll have
to switch to using the MAPI calls.
>Also, there are remaining questions about getting the Office routing
>functionality from TL, and how to configure browers to launch TL on
>an Email address on the web.
This depends on the browers. If it uses Simple MAPI, then it will
bring up the TeamLinks create message window on send (I think that
there are other notes in here saying we tried this with Internet
Explorer and it worked). I don't think Netscape uses Simple MAPI, so
it won't work with them.
........helen
|
|
>|Well, from the look of the declaration section he sent, he is trying to
>|use the BMAPI calls. They are not defined in the TeamLinks Simple MAPI
>|DLL, so that will not work. He needs to call the MAPI calls directly.
>
>I am not sure why this seems so difficult, but if the BMAPI calls will not
>work with the TL DLL, what will? I only need "FINDNEXT" and "DELETE".
>"SEND" already works. How do I make the other calls to the TL MAPI.DLL?
And I guess I don't know what else to add here. I gave two possible
solutions:
1. Call MAPIFindNext, MAPIDeleteMail etc. directly (not BMapiFindNext)
or
2. Try using the VBAMAPI.DLL file provided by Microsoft. I think this
would allow you to continue to use the BMAPI calls with the TeamLinks
Simple MAPI DLL.
>|This depends on the browers. If it uses Simple MAPI, then it will
>|bring up the TeamLinks create message window on send (I think that
>|there are other notes in here saying we tried this with Internet
>|Explorer and it worked). I don't think Netscape uses Simple MAPI, so
>|it won't work with them.
>
>We use IE3.0. How do I get it to use TL for messaging?
I tried Internet Explorer 3.0 with TeamLinks Simple MAPI. The Mail function
button will works and so does the File Menu New Message, Send To.. Mail
Recipient. These functions all bring up the TeamLinks Create Message
window. Clicking on address on the web page doesn't work. It appears
as if IE sends that to Simple MAPI as a Name, not and address and this
does not resolve correctly to an address. We are looking into that to
see if we can fix it for the next release.
>Lastly, how do I get the Standard Office "Routing" to work once TL has been
>installed? In short, I want TL to work exactly as MS mail works with Office.
>Instead of the MS Mail client loading, TL should load. Otherwise, I do not
>want ANY TL integration at all.
Could you be more specific on this? It might be an extended MAPI function
I don't know. What exactly are you tring to do in one of the Office
applications?
....helen
|