Recomendation for a good free mail php script?

I need to add a contact us form with various field options including a drop down box and would like the IP to be captured also.

Ive had a look online and found a few options, but none Ive seen so far seen to tick all the boxes and i’d rather not spend ages trialing different versons that may not even work with dreamhost anyway!

Can some kind soul point me in the right direction of a decent mailform that definitely works well on dreamhost?

Many thanks

We’ve got a “canned” formmail script set up at