Enviado em 21/10/2009 - 08:46h
Ola Pessoal, preciso enviar um e-mail com o sendmail, sendo que a mensagem é um arquivo html, ele envia corretamente, porem o destinatario recebe o texto html como enviado, e não é interpretado pelo outloock, se abro o mesmo arquivo em navegador ele é interpretado corretamente, abaixo o texto que estou enviando, o que estou fazendo de errado?
<html>
<head>
<meta http-equiv="Content-Language" content="pt-br">
<title>:: xxxxxxx ::</title>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
</head>
<h2>aaaaaaaaaaaaaaaaaaaaaaaaaaaa</h2>
<table width='100%'>
<TR>
<TD colspan='6' align='center'>
<b>bbbbbbbbbbbbbbbbbbbbbbbbbbb</b>
.........texto............
</TD>
</TR>
</table>
<html>
<head>
<meta http-equiv="Content-Language" content="pt-br">
<title>:: xxxxxxx ::</title>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
</head>
<h2>aaaaaaaaaaaaaaaaaaaaaaaaaaaa</h2>
<table width='100%'>
<TR>
<TD colspan='6' align='center'>
<b>bbbbbbbbbbbbbbbbbbbbbbbbbbb</b>
.........texto............
</TD>
</TR>
</table>