Copy link to clipboard
Copied
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!.
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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?