srinika
August 16th, 2001, 06:09 AM
My application uses CDO 1.21. I want that to get the username / password & Server name as parameters and connect to a particular user's mail box in a server.
Once I try to run the program - as per the MSDN - it pops up a screen asking the username / password etc.
Since I want this program to work without any user interaction, I want to avoid this popup screen.
Can any Guru help me to tackle this!!!
My code is:Dim CDOSes as new Session ' Referenced the CDO 1.21 library
CDOSes.Logon profilePassword:="PPP", newSession:=true, showDialog:=false, ProfileInfo:="MAILSERVER" & vbLf & "Sri Pinna"
Thanks in advance
Once I try to run the program - as per the MSDN - it pops up a screen asking the username / password etc.
Since I want this program to work without any user interaction, I want to avoid this popup screen.
Can any Guru help me to tackle this!!!
My code is:Dim CDOSes as new Session ' Referenced the CDO 1.21 library
CDOSes.Logon profilePassword:="PPP", newSession:=true, showDialog:=false, ProfileInfo:="MAILSERVER" & vbLf & "Sri Pinna"
Thanks in advance