Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: Connect to Mail server.


Message #1 by "srikieat" <srikieat@y...> on Tue, 4 Sep 2001 05:53:56
Dear all experts,

I try to create web-base mail application with exchange 5.5. I run my script on 

Web server and I install Exchange on another machine. Below this is my 

script : 

strServer =MyMailServer

strMailbox = MyMailbox

strProfileString = strServer & vbLf & strMailbox

set objSession = createObject("MAPI.session")

objSession.Logon "", "", False, True, 0, True, strProfileString



After I had ran this script, It has not responsede me back for long time. In My 

opinion, the error found on the last line. I think it cannot find my mail server. Do I 

need to install exchange on webserver ? Need some recommendation. Thanks 

in advance,



Srikieat

Message #2 by "Siegfried Weber" <sweber@c...> on Wed, 5 Sep 2001 21:33:07 +0200
Sounds like you have a network problem then. Logging into an Exchange

server using CDO 1.21/Extended MAPI requires RPC connectivity between

the machine running this code and the Exchange 5.5/2000 Server.



If I'd be you, I'd check into the network setup first.



<Siegfried />



> -----Original Message-----

> From: srikieat [mailto:srikieat@y...]

> Sent: Tuesday, September 04, 2001 7:54 AM

> To: ASP CDO

> Subject: [asp_cdo] Connect to Mail server.

>

> Dear all experts,

> I try to create web-base mail application with exchange 5.5. I run my

> script on

> Web server and I install Exchange on another machine. Below this is my

> script :

> strServer =3DMyMailServer

> strMailbox =3D MyMailbox

> strProfileString =3D strServer & vbLf & strMailbox

> set objSession =3D createObject("MAPI.session")

> objSession.Logon "", "", False, True, 0, True, strProfileString

>

> After I had ran this script, It has not responsede me back for long

time.

> In My

> opinion, the error found on the last line. I think it cannot find my

mail

> server. Do I

> need to install exchange on webserver ? Need some recommendation.

Thanks

> in advance,

>

> Srikieat
Message #3 by "srikieat" <srikieat@y...> on Thu, 6 Sep 2001 04:28:33
Thank you so much.




  Return to Index