Searching for the same script the one I have is not compatible with my version on PHP 4.3.3.
But I just DL one from www.sensationdesigns.com.
which looks promising if I can get it work.
But actually the mail function is pretty forward in php. I just have the problem of posting the variable values to equate to the forms values. Otherwise I will build some.
Edit: Turns out I am doing everything correctly its just that my SMTP requires authentication and the mail() does support that.