Ver Mensaje Individual
  #1 (permalink)  
Antiguo 29/07/2010, 10:14
dannitaz
 
Fecha de Ingreso: enero-2007
Mensajes: 5
Antigüedad: 17 años, 3 meses
Puntos: 0
Problema con tildes

Amigos el codigo es el siguiente

Código:
<?php

$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
require("class.phpmailer.php");
$msg = "";
if ($_POST['action'] == "send") {
	$varname = $_FILES['archivo']['name'];
    $vartemp = $_FILES['archivo']['tmp_name'];
    
	$mail = new PHPMailer();
	$mail->Host = "localhost";
	$mail->From = $_POST['email'];
	$mail->FromName = $_POST['firstname'];
	$mail->Subject ="Confirmation Abstract Lasdb 2010";
	$mail->AddAddress("[email protected]");
    $mail->AddAddress("[email protected]");
	/*	$mail->AddAddress("[email protected]");*/
	$mail->AddAddress($_POST['email']);
	if ($varname != "") {
		$mail->AddAttachment($vartemp, $varname);
	}
	$body = "
	   		<font size='2'face='arial'>
			<b>Step 1 Presenter: </b><br>
			    <b>First Name of poster presenter: </b>".$_POST["firstname"]."<br>
				<b>Last Name of poster presenter:  </b>".$_POST["lastname"]."<br>
				<b>Email Address of poster presenter: </b>".$_POST["email"]."<br>
				<b>Category of Poster presenter:  </b>".$_POST["category"]."<br>
				<b>Institution:</b>".$_POST["presenterintitution"]."<br>
				<b>Country:</b>".$_POST["presentercountry"]."<br><br>
				<b>Step 2 Announcements:</b><br>
				<b>Do you wish to be considered for one of the poster awards announcements?: </b> ".$_POST["announcements"]."<br><br>
				<b>Step 3 Advisor :</b><br>
				<b>Advisor’s Fist Name(For Students and PostDocs): </b>".$_POST["advisorfirstname"]."<br><br>
				<b>Advisor’s Last Name(For Students and PostDocs): </b>".$_POST["advisorlastname"]."<br><br>
				<b>Advisor’s Email address (For Students and PostDocs):  </b>".$_POST["advisoremail"]."<br><br>
				<b>Institution:</b>".$_POST["advisorinstitution"]."<br>
				<b>Country:</b>".$_POST["advisorcountry"]."<br><br>
                <b>Abstract Title: </b>".$_POST["abstract"]."<br><br>	
			</font>";
	$mail->Body = $body;
	$mail->IsHTML(true);
	$mail->Send();
	$msg = "Thanks, the data was sent successfully. <br> A confirmation email will reach your inbox.";
}
?>
Mi problema radica que al llegar esto a outlook o webmail, los tildes y Ñ aparecen de la siguiente forma ÑANDU (ÑANDU), necesito de sumar urgencia poder solucionar eso, ya puse
Código:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
en el html.

POR FIS!! ayuda!!!!!!!