[PHP-users 20642]Re: mail関数で文字数制限?

moonface moonface @ olive.freemail.ne.jp
2004年 3月 3日 (水) 15:45:03 JST


小林です。


> 1000バイトは最大の長さであって、Base64では
> 76文字(バイト)で改行(RFC2045)することになっています。
> 
>           Encoded lines must not be longer than 76 characters,
>           not counting the trailing CRLF. If longer lines are
>           found in incoming, encoded data, a robust
>           implementation might nevertheless decode the lines, and
>           might report the erroneous encoding to the user.
> 
> エラーになる可能性があるので76バイトで改行するべきです。

うっ、やっていました。
早速修正します。

ありがとうございました。
*これからはRFCをちゃんと参照するようにします。
  教えて君になってしまいつつある自分をいさめつつ・・・

/////////////////////////////////
小林
Mail:moonface @ olive.freemail.ne.jp
/////////////////////////////////




PHP-users メーリングリストの案内