Hallo NG

we develop with PB 10.5 Build 6565.
Our app uses the native PB mailSession Object to establish a
connection to the eMail-Service on the Client.
Under PB 7 we never ran in problems using this technique.
Since we migrated to 10.5 we have Problems connecting via
the MailLogon Function on a XP-Client-machine running the
"Tobit David eMailClient" (Version 8.10).

Sample Code that fails:

// Log on to the session
CHOOSE CASE ab_UseExistingSession
CASE TRUE
mRet = mSes.mailLogon( )
CASE FALSE
mRet = mSes.mailLogon( mailNewSession! )
END CHOOSE

CHOOSE CASE mRet
CASE mailReturnSuccess!
// OK
CASE mailReturnLoginFailure!
MessageBox( "Failure Logon eMail", "Login failed.
Check Username/Password !" )
result = False
CASE mailReturnInsufficientMemory!
MessageBox( "Failure Logon eMail", "Insufficient
Memory !" )
result = False
CASE mailReturnTooManySessions!
MessageBox( "Failure Logon eMail", "Too many sessions
!" )
result = False
CASE mailReturnUserAbort!
MessageBox( "Failure Logon eMail", "User Abort !" )
result = False
CASE mailReturnFailure!
MessageBox( "Failure Logon eMail", "Reason not
documented (MailReturnFailure) !" )
result = FALSE
CASE ELSE
IF isNull( mRet ) THEN
MessageBox( "Failure Logon eMail", "Reason unknown
(Returnvalue is NULL) !" )
ELSE
MessageBox( "Failure Logon eMail", "Reason unknown
!" )
END IF
result = False
END CHOOSE

The Logon always returns "mailReturnFailure!" which isn't
even documented in the PB-Help!
On the Sybase EBF-Descriptions i found out that this problem
was well known on Win2000 machines but was already fixed in
"PB 10.0.1 EBF_6064" and later in "PB 10.2_7516".
Really frustrating because our PB7-App does well on the
client (same code!) and the 10.5 does not...

Any ideas how i can get MAPI going with PB 10.5?

Regards,
Michael Kilger