Skip to main content
January 10, 2010
Question

Could not connect to SMTP host: localhost, port: 25

  • January 10, 2010
  • 2 replies
  • 3227 views

Hi,

The error message is "Could not connect to SMTP host: localhost, port: 25" and it occurs when I tend to use a simple <cfmail> example snippet.

Anything I need to sort out at my end for this?

I am using Windows Vista, CF 8, (with dev.web server).

(P.S I've attached a screenshot my SMTP settings too.)

Thanks in advance!.

    This topic has been closed for replies.

    2 replies

    BKBK
    Adobe Expert
    January 11, 2010

    1) Debugging mail server SMTP settings: You imply that there is a mail server installed on the local machine. Is that so? If so, which one?

    2) Debugging the domain: Do you get same error when you use 127.0.0.1 instead of localhost?

    3) Debugging the port: Does a mail client on the machine, say MS Outlook or Outlook Express, send and receive mail? If not, then your firewall might need to open port 25.

    4) Debugging proxy: Is the machine behind a proxy? If so, have you configured the connection settings to bypass the proxy for local IP addresses?

    Ken_Ford_-_ACP-QFo4AB
    Inspiring
    January 10, 2010

    It means that you do not have an SMTP server installed on your local computer.

    You could try using your web hosts email server.

    Ken Ford