<? session_start();?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>erro</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
<!--
.texto {font-family: Arial, Helvetica, sans-serif;font-size: 9px;font-weight: bold;color: #333333;text-decoration: none;
}
-->
</style></head>

<body>
<table width="740" border=0 align="center" cellpadding=0 cellspacing=0 class=MsoNormalTable>
  <tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes;height:12.0pt'>
    <td width="42" style='padding:0cm 0cm 0cm 0cm;height:12.0pt'><p class=MsoNormal><a href="http://www.systemsgeraes.com.br" target="_blank"><img src="img/SINS.jpg" width="38" height="31" border="0"></a></p></td>
    <td width="696" style='padding:0cm 0cm 0cm 0cm;height:12.0pt'><div align="left"><span class="MsoNormal"><b><span style="font-size:8.5pt;font-family:Verdana; color:black">SINSweb</span></b></span></div></td>
  </tr>
  <tr style='mso-yfti-irow:1'>
    <td colspan="2" style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:7.5pt;font-family:Verdana;
  color:#333333'> <img width=1 height=5
  src="img/image002.gif" v:shapes="_x0000_i1025">
              <o:p></o:p>
    </span></p></td>
  </tr>
  <tr style='mso-yfti-irow:2'>
    <td colspan="2" style='background:#A8B7BF;padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:7.5pt;font-family:Verdana;
  color:#333333'> <img width=1 height=1
  src="img/image003.gif" v:shapes="_x0000_i1026">
              <o:p></o:p>
    </span></p></td>
  </tr>
  <tr style='mso-yfti-irow:6;mso-yfti-lastrow:yes'>
    <td colspan="2" style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:7.5pt;font-family:Verdana;
  color:#333333'>
      <o:p>&nbsp;</o:p>
    </span></p></td>
  </tr>
  <tr style='mso-yfti-irow:6;mso-yfti-lastrow:yes'>
    <td colspan="2" style='padding:0cm 0cm 0cm 0cm'><div align=center>
      <table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%"
 style='width:100.0%;mso-cellspacing:0cm;background:#CBD9E1;mso-padding-alt:
 0cm 0cm 0cm 0cm'>
        
        <tr style='mso-yfti-irow:1'>
          <td colspan=3 style='padding:0cm 0cm 0cm 0cm'>&nbsp;</td>
        </tr>
        <tr style='mso-yfti-irow:1'>
          <td colspan=3 style='padding:0cm 0cm 0cm 0cm'><p align="center" class=MsoNormal><b><span style="font-size:8.5pt;font-family:Verdana; color:black"><?
ini_set(sendmail_from, "email@portela.net.br.com.br");
ini_set("SMTP", "mail.sinsweb.com.br");
$to = "suporte@sinsweb.com.br";
$subject = "CONTATO - SITE FECOMERCIARIOS-MG";
$html = "
<html>
<body>
<b>Assunto  : </b>INFORMAÇÃO DE ERRO NO SITE FECOMERCIARIOS-MG <br>
<b>Mensagem : </b>$_SESSION[mensagem]<br>
<b>Banco    : </b>$_SESSION[dbbanco]<br>
</body>
</html>";
$headers .= "From: \"suporte@sinsweb.com.br\" <suporte@sinsweb.com.br>\r\n";
$headers .="Content-type: text/html;charset=iso-8859-1\r\n";

if (mail($to, $subject, $html, $headers)) {
echo "Mensagem enviada com sucesso !";
} else {
	header("Location:erro.php?varChamado=SIM&txtmensagem=ERRO NO ENVIO DA MENSAGEM");
}

?>

          </span></b></p></td>
        </tr>
        
        
        <tr style='mso-yfti-irow:1'>
          <td colspan=3 style='padding:0cm 0cm 0cm 0cm'><div align="center"><b><span style="font-size:8.5pt;font-family:Verdana; color:black"> repita o procedimento mais tarde</span></b></div></td>
        </tr>
        <tr style='mso-yfti-irow:1'>
          <td colspan=3 style='padding:0cm 0cm 0cm 0cm'><div align="center"></div></td>
        </tr>
        <tr style='mso-yfti-irow:1'>
          <td colspan=3 style='padding:0cm 0cm 0cm 0cm'><span class="MsoNormal">

          </span></td>
        </tr>
      </table>
    </div></td>
  </tr>
  <tr style='mso-yfti-irow:6;mso-yfti-lastrow:yes'>
    <td colspan="2" style='padding:0cm 0cm 0cm 0cm'>&nbsp;</td>
  </tr>
  <tr style='mso-yfti-irow:6;mso-yfti-lastrow:yes'>
    <td colspan="2" style='padding:0cm 0cm 0cm 0cm'><div align="center"><a
  href="inicio.php"><span style="color:#333333;text-decoration:
  none;text-underline:none"><img border=0 width=50 height=17
  src="img/btnVoltar.gif" alt=Voltar v:shapes="_x0000_i1036"></span></a></div></td>
  </tr>
</table>
</body>
</html>
