8 Replies Latest reply on Aug 14, 2016 1:39 PM by BKBK

    My cfpop page is no longer working since yesterday?

    jlig007

      I have the following page (below) that has worked fine for years, but since yesterday it is erroring out:

      - I have uninstalled any Windows Server 2008 updates, no change.

      - I'm running ColdFusion 9,0,1,274733  Standard

      - I'm open to other ideas to grab the xml attachment from an email (Exchange server) and save it to a folder on the server?

       

      Here is the error:

      500 - Internal server error.

      There is a problem with the resource you are looking for, and it cannot be displayed.

       

      The web site you are accessing has experienced an unexpected error.
      Please contact the website administrator.

       

      The following information is meant for the website developer for debugging purposes.
      Error Occurred While Processing Request

      An exception occurred when setting up mail server parameters.

      This exception was caused by: javax.mail.MessagingException: Connect failed; nested exception is: java.net.ConnectException: Connection refused: connect.

       

       

      Here is my page code:

      ----------------------------

      <!--- Call cfpop to get any new JULIE emails, save the XML attachments to file folder on the server --->

      <cfscript>

      filepath = "C:\locates\xmlLocateAttachments";

      eserver = "x.x.x.x";

      euser = "username";

      epass = "password";

      </cfscript>

      <cfpop

      action="getAll"

      attachmentPath="#filepath#"

      server="#eserver#"

      username="#euser#"

      password="#epass#"

      name="qryMail"

      generateUniqueFilenames ="Yes"

      />

      <!--- Call cfpop and delete the emails from the server since they have now been saved to file --->

      <cfpop

      action="delete"

      server="#eserver#"

      username="#euser#"

      password="#epass#"

      />