Tema: phpmailer
Ver Mensaje Individual
  #1 (permalink)  
Antiguo 21/09/2007, 13:45
jorgeor
 
Fecha de Ingreso: junio-2002
Mensajes: 38
Antigüedad: 21 años, 10 meses
Puntos: 0
Pregunta phpmailer

Hola, tengo un codigo que uso phpmailer para enviar emails, ahora... cuando en el form input pongo <img src="http://www.sultanaviajes.com/promocion/orlando_lasvegas.jpg"> la imagen no me sale, abro el archvio en outlook y luego en notepad y el link me sale asi:

<img src=\"http://www.sultanaviajes.com/promocion/MAD_PAR_LON.jpg\"> y no carga entonces la foto...

este es el codigo del mailer:

<?
require("phpmailer/class.phpmailer.php");

$mail = new phpmailer();

$mail->From = "[email protected]";
$mail->FromName = "Sultana Viajes";
$mail->Host = "sultanaviajes.com";



$body = $_POST['html'];


// Plain text body (for mail clients that cannot read HTML)
$text_body = $_POST['sinhtml'];


$mail->Body = $body;
$mail->AltBody = $text_body;
$mail->AddAddress($_POST['email']);

if(!$mail->Send())
echo "There has been a mail error sending to " ."[email protected]" . "<br>";

// Clear all addresses and attachments for next loop
$mail->ClearAddresses();
$mail->ClearAttachments();
?>