<?php
$data=date("Y-m-d");
//send mail
$message = '
<html>
<head>
  <title>Formulario Software Certificado</title>
</head>
<body>
Olá,<br><br>

O seguinte foi enviado apartir do formulario da pagina de Software Certificado..<br><bR>

Data da encomenda: '.$data.'<br>
Nome: '.$_POST["nome"].'<br>
Contacto: '.$_POST["contacto"].'<br>
Email: '.$_POST["mail"].'<br>
Menssagem: '.$_POST["msg"].'<br><bR>

Obrigado<br>
</body>
</html>
';
$headers  = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= 'From: www.inforomba.net <>' . "\r\n";

mail("marcio@inforomba.net","Contacto Software Certificado",$message, $headers);

header("Location: http://www.inforomba.net/certificacao/enviado.html");