Re: SendMail Problem 2 Parte Casi Resuelto!! Plis helpme!

From: Date: Mon, 21 Jan 2002 19:35:04 +0000
Subject: Re: SendMail Problem 2 Parte Casi Resuelto!! Plis helpme!
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-18088@lists.php.net to get a copy of this message
utiliza el campo <textarea> de html luego lo que esta ahi lo agregas a tu variable, para ello utiliza el numero de filas y columnas a mostrar de ese campo y con eso sale --- BoKeTeRo <boketero@fibertel.com.ar> escribió: > bueno > ya esta todo funciona correctamente.. > Lo que sucede es que si en el mensaje insertan > demasiado texto la tabla se > expande hacia la derecha....... y no es como una > page HTML que respeta los > bordes > no tieene brake line.. > nose me ocurre que hacer... > <?php > $headers = "MIME-Version: 1.0\r\n"; > $headers .= "Content-type: text/html; > charset=iso-8859-1\r\n"; > $headers .= "From: ".$de."\r\n"; > $headers .= "Reply-To: ".$de."\r\n"; > $headers .= "Cc: gimenezblanco@fibertel.com.ar\r\n"; > $msg = ' > <html> > <head> > <title>Birthday Reminders for August</title> > </head> > <body> > <table width="489" border="1" cellspacing="0" > > cellpadding="0" bordercolor="#003333"> > <tr> > <td width="139">Nombre</td> > <td width="344">' .$nombre. '</td> > <tr> > <td width="139">Asunto</td> > <td width="344">' . $sujeto . '</td> > <tr> > <td width="139">Mensaje:</td> > <td width="344">' . $mensaje . '</td> > <tr> > <td width="139">E-mail</td> > <td width="344">' . $de . '</td> > </table> > </body> > </html> > '; > mail("boketero@fibertel.com.ar", "Sugerencias y > Consultas", "$msg", > $headers); > ?> > > > --------------------------------------------------------------------- > Archivo On-line: http://www.phpes.com/ > Manual PHP en español: http://www.php.net/manual/es/ > Para dar de baja la suscripción, mande un mensaje a: > lista-unsubscribe@phpes.com > _________________________________________________________ Do You Yahoo!? Información de Estados Unidos y América Latina, en Yahoo! Noticias. Visítanos en http://noticias.espanol.yahoo.com

« previous php.general.es (#18088) next »