Reply to Re: ? euro symbol

Your name:

Reply:


Posted by Oliver Grδtz on 05/25/07 02:54

Robertu schrieb:
> Hi at all
> I'ld want inserrt into my emails body the ? euro symbol therefore I wrote
> the header of my emails like :
>
> $headers="From: $mail_from\n\r";
> $headers.='X-Mailer: PHP/' . phpversion()."\r\n";
> $headers.="MIME-Version: 1.0\r\n";
> $headers.= "Content-Type: text/html; charset=utf-8\r\n";
> $headers.="Content-Transfer-Encoding: 8bit\r\n\r\n";
>
> But when emails attive to the ? euro sybnol arrive like a "?" and
> $headers="From: $mail_from\n\r";
> $headers.='X-Mailer: PHP/' . phpversion()."\r\n";
> $headers.="MIME-Version: 1.0\r\n";
> $headers.= "Content-Type: text/html; charset=utf-8\r\n";
> $headers.="Content-Transfer-Encoding: 8bit\r\n\r\n";
> arrive like the first part of the body and not like header

So the wrong display of the Euro symbol is NOT your problem since your
e-mail headers aren't even read as headers. Are you sure that you sent
them as headers an not as part of the body? Does pure HTML mail even
work (I always create multipart mails...)?

Recommendation: Use a mailing script like PHPMailer or (my tip)
HtmlMimeMail5.

OLLi

--
When asked how I use PHP, I have a simple answer. I use it to feed my
family.
[posted on php.internals]

[Back to original message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация