Possible Duplicate:
settings to send email from localhost for php code in windows vista
I am using PHP 5 and Apache to do some programming. My code can correctly send emails on the live server, but on my own development machine, I cannot send emails. There is obviously nothing wrong with my code (since it only fails to send the email on my development machine), so i guess the problem is with my settings.
I have turned off IIS so that i can assign port 80 to Apache. I did not install PHP, Apache, or MySQL by using WAMP or XAMPP - I installed each component individually. I have already tried assigning SMTP to localhost in php.ini and the port number, etc... Nothing works.
I am running on Windows Vista, and am using a router at home. I assign a fixed IP address (192.168.0.9) 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.
I tried the 2 solutions given in the last time i asked this question over here: http://superuser.com/questions/42329/settings-to-send-email-from-localhost-for-php-code-in-windows-vista
But it turns out the solution that I accepted had a limit of sending 10 emails a day, and for some reason, it was working intermittently. Also, the other solution required me to jump through too many hoops.
Is there a better solution?
Thank you.
