Hi Guys
I am not able to read mails from the mail server (MS Exhange)
An unknown exception is raised when executing the following
code fragment
<cftry>
<cfoutput>
<cfpop
SERVER=#trim(MailServerName)#
USERNAME=#trim(UserName)#
PASSWORD=#trim(UserPassword)#
ACTION="GETHEADERONLY"
NAME="messages">
this is After mail
<p align=center>
Number of messages = #messages.RecordCount#
</cfoutput>
<cfcatch type="Any">
<h3> Account locked out or Mail server is down... <br></h3>
<h4>Please contact the Admin.</h4>
<Cfabort>
</cfcatch>
</cftry>
I am passing proper values into MailServerName, UserName and UserPassword variables..
But the programe is not executing as expected.
When ever i give a username which does not exist the exception is caught properly. But if i give an existing username -- an unknown exception is raised
Please get me out of this problem..
Regards
GNV Srinivas
gnvsrinivas@essemm.co.in
I am not able to read mails from the mail server (MS Exhange)
An unknown exception is raised when executing the following
code fragment
<cftry>
<cfoutput>
<cfpop
SERVER=#trim(MailServerName)#
USERNAME=#trim(UserName)#
PASSWORD=#trim(UserPassword)#
ACTION="GETHEADERONLY"
NAME="messages">
this is After mail
<p align=center>
Number of messages = #messages.RecordCount#
</cfoutput>
<cfcatch type="Any">
<h3> Account locked out or Mail server is down... <br></h3>
<h4>Please contact the Admin.</h4>
<Cfabort>
</cfcatch>
</cftry>
I am passing proper values into MailServerName, UserName and UserPassword variables..
But the programe is not executing as expected.
When ever i give a username which does not exist the exception is caught properly. But if i give an existing username -- an unknown exception is raised
Please get me out of this problem..
Regards
GNV Srinivas
gnvsrinivas@essemm.co.in