Foros del Web » Programando para Internet » PHP »

Problemas con email - html en Hotmail

Estas en el tema de Problemas con email - html en Hotmail en el foro de PHP en Foros del Web. Bueno, despues de andar viendo post y deduciendo, vi que el hotmail tiene unos filtros para etiquetas html tipo <embed> y <script>. Estoy haciendo un ...
  #1 (permalink)  
Antiguo 02/01/2004, 01:25
 
Fecha de Ingreso: septiembre-2002
Ubicación: Mexico
Mensajes: 142
Antigüedad: 21 años, 7 meses
Puntos: 0
Problemas con email - html en Hotmail

Bueno, despues de andar viendo post y deduciendo, vi que el hotmail tiene unos filtros para etiquetas html tipo <embed> y <script>. Estoy haciendo un newsletter en flash...dado lo anterior, decidi cambiarlo al viejo y confiable html, el cual me esta presentando unos problemas, el cual se reduce basicamente a que el hotmail no esta recibiendo mi mail tal como lo mando...me hace unos saltos de linea que no debe, y me corta las ultimas etiquetas. Bueno aqui esta mi php
__________________
www.subflash.com <-----visita

Última edición por leinad256; 02/01/2004 a las 01:28
  #2 (permalink)  
Antiguo 02/01/2004, 01:29
 
Fecha de Ingreso: septiembre-2002
Ubicación: Mexico
Mensajes: 142
Antigüedad: 21 años, 7 meses
Puntos: 0
no entiendo porque carajos me corta el codigo php este foro....ya quise ponerlo, y me lo corta....y lo curioso es que lo hace en la misma linea que me lo corta el mail que mando

bueno...aqui les va....aunque sea cortado

[PHP]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Recetas</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<?PHP





if (isset($_GET['id'])) {
include ("../php/config.php");

$sheader ="From:BelleCuisineStore\nReply-To:[email protected]\n" ;
$sheader .="X-Mailer:PHP/" .phpversion (). "\n" ;
$sheader .="Mime-Version: 1.0\n" ;
$sheader .="Content-Type: text/html";

$ruta = strstr ($_SERVER['PHP_SELF'], "~danielfernandez") != "" ? "http://bellecuisinestore.com/~recetas/newsletter/" : "http://bellecuisinestore.com/~recetas/newsletter/";
$rutaImagen = strstr ($_SERVER['PHP_SELF'], "~danielfernandez") != "" ? "http://bellecuisinestore.com/~recetas" : "http://bellecuisinestore.com/~recetas";
//$ruta = "http://bellecuisinestore.com/~recetas/newsletter/";

$query = "SELECT * FROM `recetas` WHERE `id` LIKE '".$_GET['id']."'";

$consulta = mysql_query ($query, $conexion);

$datos = mysql_fetch_array ($consulta);
$ingreArray = explode ("%0D", urlencode($datos[2]));
$instrucciones = '<b><i><font size="-1">Instrucciones</font></i></b><br><br>'.urldecode(join ("<br>" , explode ("%0D", urlencode($datos[1]))));

$ingredientes = '<b><i><font size="-1">Ingredientes</font></i></b><br><br>';
for ($i=0; $i<count($ingreArray); $i++) {
$ingredientes .= "<li>".urldecode($ingreArray[$i])."</li>";
}

$textos = $ingredientes."<br>".$instrucciones;

$mostrar = '
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="middle"><table width="561" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="210"><table width="561" height="431" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="561" height="91"><img src="'.$ruta.'imagenes/logo.jpg" width="561" height="91"></td>
</tr>
<tr>
<td valign="top" bgcolor="#d7d7d7"> <table width="561" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="290" valign="top"> <table border="0" cellpadding="0" cellspacing="0" width="290">
<tr>
<td><img name="imagen_r1_c1" src="'.$ruta.'imagenes/imagen_r1_c1.jpg" width="9" height="340" border="0" alt=""></td>
<td><img name="imagen_r1_c2" src="'.$ruta.'imagenes/imagen_r1_c2.jpg" width="11" height="340" border="0" alt=""></td>
<td><table border="0" cellpadding="0" cellspacing="0" width="250">
<tr>
<td><img name="'.$rutaImagen.'/imagenes/'.$datos[0].'receta.jpg" src="'.$rutaImagen.'/imagenes/'.$datos[0].'receta.jpg" width="250" height="325" border="0" alt=""></td>
</tr>
<tr>
<td><img name="imagen_r5_c3" src="'.$ruta.'imagenes/imagen_r5_c3.jpg" width="250" height="15" border="0" alt=""></td>
</tr>
</table></td>
<td><img name="imagen_r1_c4" src="'.$ruta.'imagenes/imagen_r1_c4.jpg" width="20" height="340" border="0" alt=""></td>
</tr>
</table></td>
<td align="center" valign="top" background="'.$ruta.'imagenes/fondo.gif">
<table width="271" height="83" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="271" height="83" align="center" valign="middle" background="'.$ruta.'imagenes/titulo.gif"><table width="220" height="50" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="205" height="50" align="center" valign="middle"><font color="#333333" size="3" face="Verdana, Arial, Helvetica, sans-serif"><strong>'.$datos[1].'
</strong></font></td>
<td width="15">&nbsp;</td>
</tr>
</table></td>
</tr>
</table>
<table width="220" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="205" height="100%" align="left" valign="middle"><font color="#333333" size="-2" face="Geneva, Arial, Helvetica, sans-serif">'.$textos.'
</font></td>
<td width="15">&nbsp;</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="36" valign="bottom"
__________________
www.subflash.com <-----visita

Última edición por leinad256; 02/01/2004 a las 01:32
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 07:14.