Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to configure mail server?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi, dear mates,
I have a question. I am doing my project in home. And when i try to configure my mail server, i did as following:
In coldfusion Administrator mail server connection settings screen,
mail server: 127.0.0.1
server port: 25
connection timeout: 120
click verify button, it says connection refused, host is not listening.

Here because my computer is both server and client, and i don't connect to any network, can i set up my computer as a mail server? How can i do it correctly?
Because i need send email from my computer(act as a mail server)to itself, later it can send email to people's email addresses, how can i do this?

thank you
 
Hey Kevin,

You need to install a mail server in order for this work the way you want. CF only implements the client side of mail in that it can compose and send a message just like your mail client but it still needs a mail server to handle the delivery of the message. If you're running NT, I believe the options pack has an e-mail server (smtp service) which you can install. If you're running Win 95, just go to downloads.com and do a search on "e-mail server". You'll find a number of programs listed but I think SLmail 2.7, KaW-Software MailServer , or SmartMail Server beta 2 would do what you want for starters.

If you can stay connected to the Internet while you code, you could also use the smtp server that your isp provides.

Good luck,
GJ
 
You don't need a mail server to send mail from CF. Just set up a mail server that you know. I talks thru ports anyway. No verification needed. Let's say "mail.bellsouth.net", or something similar.

Grover Fields
 
There's actually more to it than just pointing your code at a random mail server. Almost all ISP's will reject mail which doesn't originate from within their network and a growing number also stop mail from being sent out through their network to external mail servers. These are anti-spam preventions which in the later case leaves no option but to use your ISP's mail server or run your own as I outlined above. It's best to use a reliable mail server such as your ISP's or one you run as otherwise, changes to their config could cause your code to stop working without notice.

GJ
 
i have a similar problem.
i cant connect to our exchange server through
CFPOP.
what could i be doing wrong?
i typed in the exchange server name for the SERVER,
then typed in my username and password but it tells me i've typed in a wrong password.

can anybody help me on this? thanks so much!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top