Hi Dibbit, I wanted to do the same but cannot get this to work. Do you paste that code directly after? or instead of? Im unsure. Thanks.
Also I like the idea of being able to use a custom field to control the TO: field of the contact form, so I can have contact form 1 in my template file and set the agents email on a post for post basis using the custom meta box I create. Any ideas?