I'm not sure this is the right place to post this, and I'm not quite sure that the title I chose for the post is the best option, but I can't think of anything better at the moment...

I've been requested to build a status reporting system for a specific webpage. The page is built in php, so once I get the source code I can probably program in the status tracking portion of it fairly easily. Thing is, it's supposed to signal someone when the status markers go past a set of predefined parameters. Does anyone here know how to program a php file to automatically email someone with a set message? I suspect that I can build the message in the code, but I have no clue how to send it off.

If no one here knows how to do this, does anyone have any suggestions for other webpages I might be able to search for such information?

Thanks in advance,
-EnderX