?
Solved

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

Posted on 2009-04-04
2
Medium Priority
?
1,610 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 17

Accepted Solution

by:
ccomley earned 2000 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

We aren’t perfect, just like everyone else.  Check out the email errors our community caught and learn the top errors every email marketer should avoid.
Check out the latest tech news, community articles, and expert highlights in August's newsletter.
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…
Suggested Courses
Course of the Month11 days, 12 hours left to enroll

752 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