What’s wrong there? The echo it isn’t showed.
[php]<?php
$name = $_POST['Nume'];
$phone = $_POST['Telefon'];
$email = $_POST['Email'];
$subject = $_POST['Subiect'];
$message = $_POST['Mesaj'];
$formcontent = "*De la: $name \n *Telefon: $phone \n *Email: $email \n *Mesaj: $message";
if($name !='' && $email !='' && $subject !='' && $message !=''){
(mail('[email protected]', $subject, $formcontent);
echo "Mesaj trimis!";
}
else{
echo "Trebuie sa completezi toate campurile cu *";
}
?>[/php]