magic quotes fix and added html template for form response in email