up vote 0 down vote favorite
share [g+] share [fb]

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 nothing wrong with my code clearly. so i guess the problem is with my settings.

I have turned off IIS so that i can assign port 80 to my apache.

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 no. etc.

I am running on windows vista. I am using a router at home and i tend to assign a fixed IP address. 192.168.0.9 to my development machine.

Please advise. 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.

Thank you.

link|improve this question

33% accept rate
feedback

4 Answers

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.

link|improve this answer
thanks it worked perfectly. :) – user8184 Sep 18 '09 at 10:28
feedback

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.

link|improve this answer
feedback

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.