Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using PHP 5 and Apache to do programming. My code can correctly send emails on the server, but on my own development machine I cannot send emails. There is clearly nothing wrong with my code, so I guess the problem is with my settings.

I have turned off IIS so that I can assign port 80 to my Apache instance. I did not install PHP, Apache, MySQL using WAMP or XAMPP, but I installed each component individually.

I have already tried assigning SMTP to localhost in php.ini and the port number, etc.

I am running on Windows Vista. I am using a router at home, and I tend to assign a fixed IP address, to my development machine.

I used PHPMailer where I state a specific from address and to address and once again I insist that the code works on my live server.

It is just not working on my development machine.

share|improve this question
a detail blog here: – Suresh Kamrushi Jun 22 '15 at 11:26
up vote 1 down vote accepted

Vista does not come with an SMTP server like Windows XP did.

I ran into a similar issue when I switched my development environment to Vista. So, you have to install an SMTP server.

There are many to choose from, but I chose Free SMTP Server to handle development needs.

share|improve this answer
thanks it worked perfectly. :) – Kim Stacks Sep 18 '09 at 10:28

You can use xmail, it's very easy to configure and get running for the first time,yet you can deploy it for production use too.

share|improve this answer

I would prefer "Free SMTP Server" but , in cases where I want to view the traffic and the messages, then I would choose "Hamster SMTP Server" , which is also free.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .