UseBB Community

UseBB support, discussion and development

[COMPLETED] I want you to transmit the right mail

Post Reply

Page: 1

Author Post
Member
Registered: May 2005
Posts: 26
Location: Japan
UseBB cannot transmit the right mail.

* A line-feed character is not right except the Windows environment.

I analyzed the C source of PHP.
Although the line-feed character of the Windows environment is "\r\n", in the other environment, it needs to be "\n."

see: php/ext/standard/mail.c php/win32/sendmail.c

* Missing Date field.

By RFC2822, it is defined as the Date field being indispensable.

* UseBB is not supporting a MIME header and MIME encoding.

This can be easily solved, when a mbstring module can be used.

* Solution.

I created the patch which solves these.
Please consider adoption.

http://elf.no-ip.org/~elf/contribute/usebb/2005-07-26/mail.patch
_______________
--
Tadashi "ELF" Jokagi http://poyo.jp/
HotPHPPER News: http://news.hotphpper.net/
Japan PHP Users group BBS: http://bbs.php.gr.jp/
Sorry, all contents are Japanese;-(
« Last edit by Dietrich on Tue Jul 26, 2005 3:34 pm. »
Developer
Registered: Apr 2004
Posts: 2230
Location: Belgium
Added in CVS. Thank you for this bugfix.

Post Reply

Page: 1

UseBB Community is powered by UseBB 1 Forum Software