PHP mail() issues


I hope somebody can help, I have been trying to get my mail() function to work, and understand that the php.ini is automatically setup, I first directly copied the code from the wiki page

But this sadly doesn’t work, it pumps out the error message below:
Warning: mail() [function.mail]: SMTP server response: 502 negative vibes in D:\WebStuff\\contact.php on line 43

If anyone can advise, whether I have missed an important step, that would be excellent