Solved

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

Posted on 2009-04-04
2
1,594 Views
Last Modified: 2013-11-30
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
Comment
Question by:Mr-Alone
2 Comments
 
LVL 16

Accepted Solution

by:
ccomley earned 500 total points
ID: 24089015
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Email signatures have numerous marketing benefits. Here are 8 top reasons to turn your email signature into a marketing channel.
Find out what Office 365 Transport Rules are, how they work and their limitations managing Office 365 signatures.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question