I'm inexperienced with php, and I attempted to create a contact form on my website, which sends a visitor's message to me via Email. I've tested the form, and it appears to be working. Still, the server log reports errors in the form handler php.
Even though it seems to be working, I'd like to fix these errors if I could get some guidance. I've attached the contact form, the form handler php and the relevant excerpt from the error log.