I have a VB app that uses CDO 1.21 to send emails via an Exchange
2000 server.
Works fine for Win98 users (although it could be a bit faster), but
for Win2k users it is so slow it is virtually unusable... the app
hangs for about 3 minutes.
Problem seems to be communicating with Exchange (logging on, sending
and logging off the MAPI session). Even though VB is supplying the
mailbox and password, Win2k must be doing some sort of authentication.
I really need to know what is going on... and then do something
different. Is there a setting in Exchange 2000? Or Win2k?
Problem also with Win2k users waiting ages for Outlook to start but
Win98 users get in straight away (almost!). Is this the same thing?
Many thanks for your help.
Here's some of the VB code...
Dim objSession As MAPI.Session
Dim objMessage As MAPI.Message
Dim objRecipient As MAPI.Recipient
Dim strPassword As String
Dim booError As Boolean
Set objSession = CreateObject("MAPI.Session")
strPassword = GetPassword
objSession.Logon "vbmail", strPassword, False, True, 0
Set objMessage = objSession.Outbox.Messages.Add
' add recipients, subject and body here...
objMessage.Send
Exit_Logoff:
objSession.Logoff
' clean up object variables...
_________________________________________________________________
List posting FAQ: http://www.swinc.com/resource/exch_faq.htm
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe: mailto:[EMAIL PROTECTED]
Exchange List admin: [EMAIL PROTECTED]