addRecipient(getFromEmail); // Add a recipient $form->addRecipient("info@berlin-phonedoctor.de"); // Add a recipient if ($form->processResponse($_POST)) // If we processed a response from the form... { echo ""; // display a 'thanks' message echo "Vielen Dank für Ihre Anfrage / Reservierung!
Thank you for your request / reservation !"; // display a 'thanks' message echo "
"; // display a 'thanks' message } else // otherwise { echo $form->getErrors(); // show any validation errors echo $form->getCode(); // and output the form code. } ?>