Ver Mensaje Individual
  #5 (permalink)  
Antiguo 17/03/2004, 17:07
fbosch
 
Fecha de Ingreso: diciembre-2003
Mensajes: 60
Antigüedad: 20 años, 4 meses
Puntos: 0
si... lo que hice fue copiarlo y pegarlo... y poner donde pone "mensaje", eso

$shtml= "<img src='http://www.marchanet.com/public/marchanet_segovia/Imagens/icone_santander.gif' width='97' height='35' border='0'>"; //mensaje

puse los correos para recibir y enviar.. cuando no hay imagen, es decir, pongo solo "teste" por ejemplo, si q me llega... pero con la imagen no

q he hecho malo?

esta es la pagina q estoy probando:

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>

<?php
$sfrom="[email protected]"; //cuenta que envia
$sdestinatario="[email protected]"; //cuenta destino
$ssubject="correcao de nome"; //subject
$shtml= "<img src='http://www.marchanet.com/public/marchanet_segovia/Imagens/icone_santander.gif' width='97' height='35' border='0'>"; //mensaje
$sheader="From:".$sfrom."\nReply-To:".$sfrom."\n";
$sheader=$sheader."X-Mailer:PHP/".phpversion()."\n";
$sheader=$sheader."Mime-Version: 1.0\n";
$sheader=$sheader."Content-Type: text/html";
mail($sdestinatario,$ssubject,$shtml,$sheader);

echo $shtml;
?>

</body>
</html>

q te parece q he hecho malo??

No he recibido mas respuestas... tampoco he conseguido enviar HTML por un formulario en PHP...

Lo que quiero es muy sencillo... quiero q el usuario rellene el formulario con el nombre de un imagen en mi web, su emais y nombre, y que yo reciba el mensaje vendo su nombre, email y la imagen... directamente en el outlook.. es posible?

Me ayuden porfavor..

Última edición por GatorV; 02/08/2009 a las 14:14