Comunidad de diseño web y desarrollo en internet online

enviar mail sin ser spam..

Citar            
MensajeEscrito el 29 Nov 2008 09:26 pm
hola chicos estoy haciendo un correo de saludos navideños que lo hice con php.. tipo tarjeta virtual... pero esta llega como spam.... que debo hacer ¿?? hay solucion??? .. eso si esta tiene imagenes vinculadas... no incrustadas.

cod..php

<?
$cabeceras = "From: $mail\r\nContent-type: text/html; charset=UTF-8\r\n";
$codigo = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Vader is a Hater - Star Wars Fan Art</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

</head>
<body>

<table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#999999">
<tr>

<td width="100%" height="20" bgcolor="#d8d8d8"><table width="591" height="454" align="center">
<tr>
<td><table width="85" align="center">
<tr>
<td><table width="80" height="319" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2"><img src="http://www.genteactiva.cl/tarjeta.jpg" width="542" height="295" /></td>
</tr>
<tr>
<td width="378" bgcolor="#FFFFFF"><div align="center">
<table width="352" height="88">
<tr>
<td align="left" valign="top"><p align="left"><em><font face="Times New Roman, Times, serif" color="#325EB4">'.$noticia2.'</font></em></p></td>
</tr>
</table>
</div></td>
<td width="160" valign="top" bgcolor="#FFFFFF"><img src="http://www.genteactiva.cl/tarjeta2.jpg" width="160" height="109" /></td>
</tr>
</table></td>
</tr>
</table>
<div align="center"></div></td>
</tr>
</table></td>

</tr>
</table>
';
if(mail( $mail , "Tarjeta de Navidad", $codigo, $cabeceras)){
print "<meta http-equiv=\"refresh\">";
}

else
{
return $fallo;
}
?>

favor si alguien sabe que onda aviseme.. gracias.. generalmente pasa con Hotmail, gmail, yahoo

Por jorgete

9 de clabLevel



Genero:Masculino  

firefox
Citar            
MensajeEscrito el 29 Nov 2008 10:41 pm
deberas configurar bien las cabezeras revisa este cod

http://www.codigolandia.com/art-Mail+Con+Adjunto+-+Cualquier+Archivo-php-60.tc

y mira las cabezeras soportan todos los mail's exepto el Putosqui Hotmail q siempre los frena pero no se a donde los manda porq no llegan ni a al spam saludos

Por talcual

686 de clabLevel



 

Colombia

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.