Re: [PHP-I18N] mb_send_mail

2003-01-31 Thread Moriyoshi Koizumi
Hayk Chamyan <[EMAIL PROTECTED]> wrote: > > >> > >> This problem may occur when the mail() function gets reloaded. > MK> Do you mean a case where mbstring.func_overload is enabled in > MK> php.ini? If so, you can use mb_orig_mail() that is prepared as an alias > MK> for the standard mail() funct

Re: [PHP-I18N] mb_send_mail

2003-01-31 Thread Moriyoshi Koizumi
Hayk Chamyan <[EMAIL PROTECTED]> wrote: > > MK> Good point. But isn't it easy thing to avoid this problem by not > MK> appending those headers that are supposed to be appended by mbstring? > > This problem may occur when the mail() function gets reloaded. Do you mean a case where mbstring.func

Re: [PHP-I18N] mb_send_mail

2003-01-31 Thread Tony Laszlo
On Sat, 1 Feb 2003, Moriyoshi Koizumi wrote: > Hayk Chamyan <[EMAIL PROTECTED]> wrote: > > Maybe you need to add some additional functionality to checking additional_headers >parameter? The following is working for me: $headers .= "Content-Type: text/html; charset=utf-8";

Re: [PHP-I18N] mb_send_mail

2003-01-31 Thread Moriyoshi Koizumi
Hayk Chamyan <[EMAIL PROTECTED]> wrote: > Maybe you need to add some additional functionality to checking additional_headers >parameter? > > Because there can be cases when some parts of e-mail header will duplicated. > Here is an example: > > MIME-Version: 1.0 > Content-type: text/plain; charse

Re: [PHP-I18N] mb_send_mail

2003-01-31 Thread Moriyoshi Koizumi
Hi, It turned out to be a genuine bug, and now fixed in CVS snapshot. Thanks for the report. Moriyoshi Hayk Chamyan <[EMAIL PROTECTED]> wrote: > > Hi. > > MK> What if prepending a single line > MK> mb_language("uni"); > MK> right before the mb_send_mail() call? > > It didn't help. The heade

Re: [PHP-I18N] mb_send_mail

2003-01-31 Thread Moriyoshi Koizumi
Hi, Hayk Chamyan <[EMAIL PROTECTED]> wrote: > > I'm trying to send a UTF-8 encoded e-mail using mb_send_mail() under > PHP 4.3.0 with the MBString extension. > > mb_send_mail() adds the following lines to the e-mail header: > Mime-Version: 1.0 > Content-Type: text/plain; charset=UTF-8 > Cont