Hi guys,

The main problem is: I have to debug an existing ASP code that
programatically logs on to iMail mailbox.
(Its a 3rd party web application that is built around iMail using ASP and
iMail components)
(Which is why I cant use the normal login.cgi ... they dont use cgi...
*sniff*)

The code used to work... which leads me to think its some setting problem OR
it was really buggy and finally
it crumbled.

Problem no.2, the person coding it ... is no longer around. (what's new?)

Problem no.3, I have to fix it asap.

The code snippet is something like this:-
'========================================
Set IMAP4 = CreateObject(Application("IMAP4Object"))
IMAP4.PerformanceMode = 1
IMAP4.LicenseKey = Application("IMAP4LicenseKey")
rVal = IMAP4.Connect(Application("IMAP4Server"))
if rVal <> 0 then
        Response.Write "Err: Failed to connect"
        Response.End
end if

rVal = IMAP4.Login("[EMAIL PROTECTED]","password")
if rVal <> 0 then
        Response.Write "Err: Failed to log in"
        Response.End
end if
'----------------------------------------------------------------------

btw, its iMail version 6.0
(somehow in version 7.0, even though rVal is NOT success, the error messages
doesnt show...)

I want to debug it, but I dont have the detailed documentation of the
IMAP4Object or (fully working) ASP code snippets
to refer to.  I would be most grateful if someone can show me how to move
forward.
(eg. What things to check to ensure settings are all ok, better ASP code
snippets that work, etc)


Thank you for your time.


SY Lim the desperate.




To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/

Reply via email to