I have a problem that I hope has a simple solution. I am using the PHP mailer to send e-mail dynamically. The from name for the e-Mail has 'México' in it. When I receive the e-mail it is displaying as:
México Timeshare Rentals Networks
the header in the e-mail is:
Return-path: <_www@cpe-071-076-219-199.
triad.res.
rr.com>
MIME-version: 1.0
Content-transfer-encoding:
8BIT
Content-type: text/html; charset=UTF-8
Return-path: <_www@cpe-071-076-219-199.
triad.res.
rr.com>
Received: from mac.com ([10.150.68.91])
by ms204.mac.com (Sun Java(tm) System Messaging Server 6.3-6.01 (built Dec 5
2007; 64bit)) with ESMTP id <0JYB00DV8DS8PX10@ms204.ma
c.com> for
sscotti@mac.com; Tue, 25 Mar 2008 18:36:08 -0700 (PDT)
Original-recipient: rfc822;sscotti@mac.com
Received: from cpe-071-076-219-199.triad.
res.rr.com
(cpe-071-076-219-199.triad
.res.rr.co
m [71.76.219.199])
by mac.com (Xserve/smtpin091/MantshX 4.0) with ESMTP id m2Q1a51s008085 for
<sscotti@mac.com>; Tue, 25 Mar 2008 18:36:06 -0700 (PDT)
Received: by cpe-071-076-219-199.triad.
res.rr.com
(Postfix, from userid 70)
id 297E6F5CA92; Tue, 25 Mar 2008 21:36:05 -0400 (EDT)
To: sscotti@mac.com
Subject: Your Rental Property has been activated!
X-Priority: 3
X-MSMail-priority: Normal
X-Mailer: php
From: =?UNKNOWN?Q?M=C3=A9xico?= Timeshare Rentals Networks
<info@mexicotimesharerenta
lnetworks.
com>
Message-id: <20080326013605.297E6F5CA9
2@cpe-071-
076-219-19
9.triad.re
s.rr.com>
Date: Tue, 25 Mar 2008 21:36:05 -0400 (EDT)
X-Brightmail-Tracker: AAAAAA==
X-Brightmail: Scanned
the e-mail function is:
function test_email($fromname, $fromaddress, $toname, $toaddress, $bcc ,$subject, $message)
{
$headers = "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html; charset=UTF-8\n";
$headers .= "X-Priority: 3\n";
$headers .= "X-MSMail-Priority: Normal\n";
$headers .= "X-Mailer: php\n";
$headers .= "From: \"".$fromname."\" <".$fromaddress.">\n";
// $headers .= "Bcc: \"Alexandria\" <".$bcc.">\n";
return mail($toaddress, $subject, $message, $headers);
//return 1;
}
Any ideas.
Start Free Trial