[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1616
  • Last Modified:

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
0
Mr-Alone
Asked:
Mr-Alone
1 Solution
 
ccomleyCommented:
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

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now