If the thread and interest is still active (if not, I'm posting for the sake of documenting) I may recommend you use a remotely hosted form generator, which completely automates the process. Check out
123ContactForm. I have used it successfuly, I allows tweaking the codes and designing the form as you wish, with full CSS customization.