[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-i18n
Subject:    Re: [PHP-I18N] mb_encode_mimeheader problem
From:       Moriyoshi Koizumi <moriyoshi () at ! wakwak ! com>
Date:       2003-03-27 17:19:49
[Download RAW message or body]

Hi,

Gary Ross <php_i18n@j-w3.com> wrote:

> Hello,
> But it seems that on many/some(?) emailers the \n in "STUFF_?=\n 
> =?ISO-2022-JP?B" is interpreted as a new header line, not as part of 
> the subject. I'm not very familiar with the exact rfc rules, does the 
> choice of \n over other possibilities have an effect?
> 
> Should I be doing something like this:
> $subject =
>    mb_encode_mimeheader(
>      trim(mb_convert_encoding($subject, "ISO-2022-JP","AUTO")),
>      'ISO-2022-JP',
>      'B',
>      "\r\n\t "
>    );

I've never got a problem with the mails that have such folded headers.
Did you try mb_send_mail() and had no luck with it? I think that's most 
likely a MTA problem..

Moriyoshi


-- 
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic