From:             alexanderpas at yahoo dot co dot uk
Operating system: Irrelevant
PHP version:      5.2.6
PHP Bug Type:     Mail related
Bug description:  Mime-encoded UTF-8 subject is limited to 47 characters.

Description:
------------
an Mime-encoded UTF-8 subject is limited to 47 characters, because php
doesn't allow \n into $subject of the mail function, and RFC 2047 requires
CRLF SPACE to seperate multiple lines of encoded text

php documentation:
<quote>mail() [...] $subject [...] must not contain any newline
characters, or the mail may not be sent properly.</quote>

RFC 2047
<quote>An 'encoded-word' may not be more than 75 characters long,
including 'charset', 'encoding', 'encoded-text', and delimiters. If it is
desirable to encode more text than will fit in an 'encoded-word' of 75
characters, multiple 'encoded-word's (separated by CRLF SPACE) may be
used.</quote>


-- 
Edit bug report at http://bugs.php.net/?id=45955&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=45955&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=45955&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=45955&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=45955&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=45955&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=45955&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=45955&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=45955&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=45955&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=45955&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=45955&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=45955&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=45955&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=45955&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=45955&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=45955&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=45955&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=45955&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=45955&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=45955&r=mysqlcfg

Reply via email to