Re: question about mail

"Ligaya Turmelle" <[email protected]>
Newsgroups gmane.comp.php.internationalization
Organization Guam International Country Club
Message-ID <[email protected]>
OK removed all the references to encoding in base64.  And am still not
getting Japanese sent.

Code looks like this:

// create parts of email message

        // headers
        $headers = "From: $frName <$frEmail>\r\n";  // From
        $headers .= "Reply-To: $frReToName<$frReToEmail>\r\n";  // Reply to
        //$headers .= "MIME-Version: 1.0\r\n";  ////////Removed because
header was being put on by the MTA
        //$headers .= "Content-type: text/plain; charset=UTF-8 \r\n";
//utf8     ////////Removed because header was being put on by the MTA
        //$headers .= "Content-Transfer-Encoding: base64 \r\n";  // base 64
encoding


        // body of the message
        mb_language("uni");             // set to Unicode
        $message = chunk_split($tMess);          // split line into workable
parts (removed base64 encoding here)

        // display email
        echo "$add<br>";
        echo "$sub<BR>";
        echo "$headers<BR>";
        echo "$message";
        //$decodedMessage = base64_decode($message);
        //echo "$decodedMessage<BR>";

        // send email
        $sent = mb_send_mail($add, $sub, $message, $headers);

And I am receiving in my mail box:
ã,°ã,¢ãf ã,¤ãfSã,¿ãfSã,·ãf§ãf«ã,«ãf³ãf^ãfªãf¼ã,¯ãf©ãf- rather then
??????????????????

with this in the header

Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from BASE64 to 8bit by host2.this

Any ideas?

"Moriyoshi Koizumi" <[email protected]> wrote in message
news:[email protected]...
>
> On 2004/02/04, at 15:43, Ligaya Turmelle wrote:
>
> > I did and I got the unicode to work but then the japanese wasn't being
> > sent.
> > Instead of viewing the Japanese in outlook I would get the base 64
> > encoding
> > .  If I remove the base 64 encoding I receive garbage.  Can you think
> > of
> > anything else?
>
> Oops, forgot to mention that you don't have to base64_encode
> the mail body when it comes to mb_send_mail(). You can
> safely pass it to mb_send_mail as is.
>
> Moriyoshi
>
> > Respectfully,
> > Ligaya Turmelle

-- 
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.