Código:
la variable body contiene todo el HTML generado por una pagina ASP y que forma el mail.<%function send_mail(de,titulo,contenido) set objmail=server.createobject("CDONTS.Newmail") with objmail .from=""&de&"" .to=""&contenido&"" .subject=""&titulo&"" .importance=1 .mailformat=CDOMailFormatMIME .bodyformat=CDOBodyFormatHTML .contentbase="http://www.miweb.com" .body=body .send end with set objmail=nothing end function%> send_mail "MIWEB","Su pedido esta siendo atendido",mail
Alguine sabe que hay que hacer para que estos mails se visualicen correctamente tambien desde webmail?
Gracias