<?php $name = urldecode($_POST['name']); $email = urldecode($_POST['email']); $to = "gelu.ciobotaru@gmail.com"; $from = "office@alexgsm"; $subject = "App form submission"; $message = "Mail : " . $email . "\n" . "Nume : " . $name . "\n" . "A trimis un mesaj de verificare al aplicatiei"; $headers = "From:" . $from; mail($to,$subject,$message,$headers); echo "Mail Sent. Thank you, we will contact you shortly."; ?>