SelectTemplate("ask-andrew.htm"); $email->SelectTemplate("lib/email/contact.htm"); //Change me $redirectOnComplete = "form-thankyou.htm"; $emailFrom = "City Bridge Dental Care "; $emailTo = "reception@citybridgedental.com"; $subject = "Ask Andrew - website form"; $required = array( "Name:textbox", "Message:textbox", "Email:textbox", ); $notrequired = array( "Telephone:textbox", ); form2mail($template,$email,$required,$notrequired,$redirectOnComplete,$emailFrom,$emailTo,$subject); $template->Execute(); echo $template->getHTMLDump();