The pages are the following: - http://www.coresdaventura.com/free-quote.php - http://www.coresdaventura.pt/orcamentos-gratis.php
This is the same code for both pages:
$header = "Mime-version:1.0\n";
$header .= "Content-type: text/html;charset=iso-8859-1\n";
$header .= "From: " . $_POST['email'] . "<" . $_POST['email'] . ">\r\n";
$content = "<html>
<style>
//some style
</style>
<body>
//some content
</body>
</html>";
$email = "example@coresdaventura.pt";
mail($email, utf8_encode("Subject example"), $content, $header);
Sometimes clients contact us saying that they have sent us some emails thought the website but we haven't received (not in the spam folder as well). Any thoughts why?
Note: We are using gmail platform for our company's email (https://www.gmail.com/intl/en_us/mail/help/work.html)