[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference abbott::teamlinks_windows

Title:TeamLinks for Windows
Notice:Kit and ECO locations: See replies to note 8.o note 8.
Moderator:ORION::chayna.zko.dec.com::tamara::eppesAN
Created:Mon Aug 28 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2238
Total number of notes:9650

1947.0. "Customer questions on MAPI in TL V2.7" by ALFSS2::GIANNETTI_D () Wed Jan 22 1997 17:18

T.RTitleUserPersonal
Name
DateLines
1947.1A start on some answers...XANADU::PRINCIPIOWed Jan 22 1997 17:4648
1947.2other topics exist about TL and Internet browsersBOOKIE::chayna.zko.dec.com::xanadu::eppesNina EppesWed Jan 22 1997 19:018
1947.3Installation looks goodALFSS2::GIANNETTI_DFri Jan 24 1997 14:4031
    Helen,
    
    I double checked the customer's system.  He does have the mapi
    installed correctly.
    
    I had him look on the system for mapi.dll and mapi32.dll.  His MAPI.DLL
    is around 100k and dated 8-24-96 his MPAI32.DLL is dated 8-2-96 and 
    I think he said around 24k in size.
    
    I looked at WIN.INI and the [MAIL] section had mapi=1.  I had him
    add the mapix=1 just in case that affected this and it made no diff.
    
    He says if he goes into Wordpad and using send to send mail it brings
    him into the Create Message window with no problem.
    
    If he goes to his program he has written which is VB code running out
    of Microsoft Access 2.0 (using 16 bit calls) and he tries the read mail
    code it does not work.  He receives a "Sub or function not defined".
    
    He says if he goes back to the mapi dll from microsoft exchange this
    works just fine.
    
    He did note that with TeamLinks mapi dll the mapilogon call does work.
    
    I am not sure what a test call would look like but he asks that if we
    can provide him with an example call for readmail that we know works
    he could use it to test.
    
    Help!
    
    Debbie Giannetti
1947.4XANADU::PRINCIPIOFri Jan 24 1997 15:4113
Debbie,

I don't have a VB sample.  I only have a sample written in C, so I
don't know if that would be of much help to him.  Tell him to take
a closer look at the code.  My guess is that he's trying to call a
function that is not one of the 12 Simple MAPI calls.  If he is copying
what some of the Microsoft Simple MAPI SDK examples for VB do,they
call routines that look like Simple MAPI calls, but are prefixed with
the letter B such as BMAPISendMail.  That routine doesn't exist in
our MAPI.DLL.  Find out if that's the case.

.....helen
1947.5MAPI, MAPI, MAPI, boy do I feel inadequateAIMTEC::GIANNETTI_DTue Feb 04 1997 14:3111
    Helen,
    
    The customer said he would like to see the copy fo the sample
    written in C.  He says also if we are implementing simple mapi and
    the Microsoft example using Bmapi, when then can't we use Bmapi?
    
    He says, however, he was not attempting Bmapi calls in his code. 
    I requested he send me a copy of his code but I have not received
    any copies yet.
    
    Debbie Giannetti
1947.6Customer's codeALFSS2::GIANNETTI_DFri Feb 07 1997 14:0280
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

1947.7MANANA::PRINCIPIOMon Feb 10 1997 12:0527
>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
1947.8Internet Explorer v3.0OASS::GIANNETTI_DThu Feb 13 1997 13:5621
    Helen,
    
    I was able to give the customer the last correspondence regarding
    the Bmapi calls and the vbamapi.dll.  He will look into this.
    
    He is trying to use the Internet Explorer version 3.0 on WIN95
    as his internet browser.  When he sees an internet address and
    pursues this address to send it does not call TeamLinks Mail.
    
    We have checked WIN.INI for the mapi and mapix settings. All looks
    fine.  What other settings are necessary to make this work?  
    
    Please respond as soon as possible.  I read note 1354 but it is
    unclear as to what steps need to be done.  I would like to have
    this information so we can step the customer's through this
    process.
    
    Thanks in advance.
    
    Debbie Giannetti
    
1947.9A reply to the replyALFSS2::GIANNETTI_DMon Feb 17 1997 16:3131
A reply to the reply....
    
    
    
    Customer's response to your response.

*************************************************************************

|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?

|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?

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.

**************************************************************************

1947.10Some more answersMANANA::PRINCIPIOFri Feb 21 1997 15:5947
>|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

1947.11Not carrying issue furtherAIMTEC::GIANNETTI_DMon Mar 24 1997 16:184
    I talked with customer.  He wanted to drop issue so this note is 
    closed.
    
    d giannetti x75170