japanese mail is broken. [message #23371] |
Mon, 14 March 2005 14:46 |
elf2000
Messages: 22 Registered: July 2004 Location: Japan
Karma: 0
|
Junior Member |
|
|
japanese mail is broken.
A reason is that there is no specification of content-type (charset).
correspondence can if a code is corrected as follows.
Index: iemail.inc.t
===================================================================
RCS file: /forum21/install/forum_data/src/iemail.inc.t,v
retrieving revision 1.37
diff -r1.37 iemail.inc.t
57a58
> $mail_func = function_exists( "mb_send_mail")? "mb_send_mail": "mail";
59c60
< mail($email, $subj, $body, $header);
---
> $mail_func($email, $subj, $body, $header);
Index: root_index.php.t
===================================================================
RCS file: /forum21/install/forum_data/src/root_index.php.t,v
retrieving revision 1.39
diff -r1.39 root_index.php.t
1a2,3
> mb_language( "ja");
> mb_internal_encoding( "UTF-8");
However, this correction place is not good.
I did not find the best place.
Thanks,
--
Tadashi Jokagi
|
|
|
|
|
Re: japanese mail is broken. [message #23405 is a reply to message #23386] |
Tue, 15 March 2005 16:39 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The Content-Type header is already being sent there is no change needed for that. The subject of the message is also already being encoded. So, as far as I can tell no further changes are needed.
FUDforum Core Developer
|
|
|
Re: japanese mail is broken. [message #23412 is a reply to message #23371] |
Tue, 15 March 2005 17:57 |
elf2000
Messages: 22 Registered: July 2004 Location: Japan
Karma: 0
|
Junior Member |
|
|
For example, there is admmassemail.php.
SMTP is processed from the 76th line.
This processing does not encode a header to the last.
I consider it better to perform encoding of a header in a fud_smtp class.
--
Tadashi Jokagi
|
|
|
|