Skip to main content
Participant
July 9, 2009
Question

Mail Server issues

  • July 9, 2009
  • 1 reply
  • 1705 views

I started having problems with sending and recieving mail when Register.com upgraded their mail servers.

below is the error message i get when i run <cfpop> command.

coldfusion.mail.MailSessionException: An exception occurred when setting up mail server parameters.      at coldfusion.tagext.net.PopTag.doStartTag(PopTag.java:336)      at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2661)      at cfmail_client_backup2ecfm1946661197.runPage(D:\Inetpub\wwwroot\Qwebl\webservices\mail_client_backup.cfm:14)      at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196)      at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370)      at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)      at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:273)      at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)      at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)      at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)      at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)      at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)      at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)      at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)      at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)      at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)      at coldfusion.CfmServlet.service(CfmServlet.java:175)      at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)      at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)      at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)      at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)      at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)      at jrun.servlet.FilterChain.service(FilterChain.java:101)      at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)      at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)      at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)      at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)      at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)      at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)      at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)      at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)      at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) Caused by: javax.mail.MessagingException: Connect failed;   nested exception is:      java.net.ConnectException: Connection refused: connect      at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:148)      at javax.mail.Service.connect(Service.java:275)      at coldfusion.mail.PopImpl.validate_folder(PopImpl.java:192)      at coldfusion.tagext.net.PopTag.doStartTag(PopTag.java:329)      ... 31 more Caused by: java.net.ConnectException: Connection refused: connect      at java.net.PlainSocketImpl.socketConnect(Native Method)      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)      at java.net.Socket.connect(Socket.java:519)      at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:230)      at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)      at com.sun.mail.pop3.Protocol.<init>(Protocol.java:81)      at com.sun.mail.pop3.POP3Store.getPort(POP3Store.java:201)      at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:144)      ... 34 more

I am running cf8. enterprise.  The weird thing is that this code works perfectly in cf8 standard.

below is the cfpop command i am running.

<cfpop server="#form.server#" username="#form.username#" password="#form.password#" action="getHeaderOnly" name="headers" timeout="600" debug="yes">

This is the same code i have been running for years.  The only change is that Register.com has upgraded their mail hosting program

    This topic has been closed for replies.

    1 reply

    July 10, 2009

    Here's the key:

    java.net.ConnectException: Connection refused: connect

    Connecting to the correct IP address after the change?

    Any A/V or IPS software blocking outbound POP3 connections?

    Your provider included you on any blocking rules for this host?

    mdemahyAuthor
    Participant
    July 10, 2009

    I looked and could not find anything.  I have norton running and i turned it off and received the same message.

    This works from all mail servers taht i try to connect to.  I even created an account on gmx.com.  I was able to connect to it in development, but not in production.

    I really don;t know what else to do.

    Mike

    Participating Frequently
    July 14, 2009

    Does cfhttp work on the production server ? (for example do a cfhttp

    for www.google.com and see if it's returning the Google homepage).

    Given that you've tried a couple of mail services (and assuming you

    tried them correctly) I would suggest a firewall issue...

    Mack