Hi,
i thought maybe someone can help ...
I have note my mail.php code (using PHPMailer).
Script seems to worf fine however i cannon convert letters to polish ones.
Each single word looks like having ? instead of PL letter (ś, ć, ł ...)
What should be done to make it work properly ?
Any suggestion would be appreciated ...
<?
require_once("class.phpmailer.php");
$mail = new phpmailer();
// $mail->Mailer = "mail"; // send via php
$mail->IsSMTP(); // send via SMTP
$mail->Mailer = "smtp";
$mail->Host = "xxx.xxx.pl"; // SMTP servers
$mail->SMTPAuth = true; // turn on SMTP authentification
$mail->Username = "xxx@xxx.pl"; // SMTP username
$mail->Password = "xxxxx"; // SMTP password
$mail->From = "xxx@xxx.pl";
$mail->FromName = $fromname;
$mail->AddAddress("$to");
$mail->AddReplyTo("$fromname", "$fromaddress");
$mail->Subject = utf8_decode ($subject);
$mail->Body = utf8_decode($message);
content=\"text/html; charset=iso-8859-2\" />>" . $mail->Body;
$IsSent = 1;
if(!$mail->Send())
{
echo "email_has_not_been_sent ";
echo "Mailer Error: " . $mail->ErrorInfo;
$IsSent = 0;
exit;
}
?>
Peter ... (PEWE)