PHP / Actionscript Email Validation script

I’m currently running a really basic contact form on my page (actually, it isn’t even live yet) but I do not have a validation script attached. Anyone can send me anything with complete crap for data in the fields. I know how to make it check to see if there is data in the fields, and I think could figure out how to make sure that it had an @ in the email field, but what is the best way to do all this?

Any way to ping their email address quickly and make sure it isn’t completely crap?

Also, is there a way to add to my PHP script so that when someone mails me it notes their IP address and the time of day?

Cheers.

-Ryan :smiley: