PHP contact form?

does anyone know where i can find a contact form tutorial that actually works? …iv tried all the tutorials on here and not one works 100% …i got it to send th email…but it would not tell the person “thanks for send us an email”…so to them it looks like it doesnt work…when in fact it did…see how this could be a problem?..any ideas?