You need to set the mail server value in the CF Administrator to a valid smtp server and port. So the address would not be 127.0.0.1, unless you are running an smtp server on that same machine. Here is a link that talks about using gmail smtp.
http://jamiekrug.com/blog/
Bear in mind it is common for public mail servers (yahoo, etc..) to have restrictions to help minimize spam. Some don't allow relaying. So you may want to try it with an internal server mail server first.
> <cfmail server="localhost:8501"
BTW, I believe the "server" attribute is restricted to the Enterprise and Developer editions. So don't use that attribute unless you are running the Enterprise version on your production site.
Main Topics
Browse All Topics





by: duncancummingPosted on 2009-04-25 at 03:54:54ID: 24231671
Firstly, if you're just using the default settings as you've already specified in CF Administrator, you don't need to repeat the value for server in your <cfmail> tag.
Secondly, you specify the server as localhost:8501, but in CF Administrator, the Server Port value says 25. Specify server as just localhost, and change Server Port to 8501.