how i do configure of smtp in apache at windows 2003 ?

i have installed apache in windows 2003 server to make it supprt php, i have upload my website there & i can explorer its but when i use mail fourm its give me this error msg

Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\AppServ\www\slave.php on line 229
i have search in websites to resolve this problem they refer to me to make edit of php.ini file .. i have apply the steps but still get same problems so plz help me with this problem coz really its make me crazy lol

thx
Mr-AloneAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
ccomleyConnect With a Mentor Commented:
Windows 2003 Server does NOT run an SMTP mail server by default.

Which edition is it/ Windows Server 2003 Web Edition has a built ni "mini" SMTP server that can be enabled, just for mail transport (i.e. it doesn't support local users, but it can be used to relay mail to the 'net from apps on the server, or nearby.

Windows Server 2003 Standard Edition doesn't have this, you will need to install something to give it at least basic SMTP and, so far as I know, the only way to do this with Microsoft s/w is to load Exchange Server on to it.

ALTERNATIVLY

if you can't add SMTP support to the Windows server, you will need to identify another server to which you can send outbound email, then in your PHP  code, instead of "localhost", make the mail script connect to <chosen server> either by name or by IP address. THAT server must be running an SMTP service on port 25... if you don't have one your ISP does.

(BTW, this is an SMTP question NOT a Pegasus or POP3 question.)

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.