Hmm... with a name like "PHPGuru_2700" you'd think you would be able to figure something like this out. :p 😃
You're using the mail() function correctly, but it's probably a problem specific to your server. Does your server actually have a webserver running? What os is the server running? If it's running linux, is PHP configured to use sendmail correctly? If it's windows, do you have the smtp server set correctly, i.e. "localhost" if your server is actually running the server. This is set in the php.ini file by the way... but I'm sure you already knew this, being a PHPGuru. haha 😉