Advertisement

03.25.2008 at 06:56PM PDT, ID: 23269254
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.1

PHP  mailer issue (foreign characters not displaying right for From field in e-mail

Asked by sscotti in PHP Scripting Language, Programming Languages, Web Languages/Standards

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.mac.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.com [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@mexicotimesharerentalnetworks.com>
Message-id: <20080326013605.297E6F5CA92@cpe-071-076-219-199.triad.res.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
 
Keywords: PHP mailer issue (foreign characters …
 
Loading Advertisement...
 
[+][-]03.25.2008 at 08:56PM PDT, ID: 21208786

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.23.2008 at 04:19AM PDT, ID: 21419325

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.23.2008 at 05:12AM PDT, ID: 21419712

View this solution now by starting your 14-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: PHP Scripting Language, Programming Languages, Web Languages/Standards
Sign Up Now!
Solution Provided By: logudotcom
Participating Experts: 1
Solution Grade: B
 
 
 
Loading Advertisement...
20081112-EE-VQP-43 / EE_QW_EXPERT_20070906