[imp] IMP HEAD (and 3.1) - dropping larger attachments

Michael M Slusarz slusarz at bigworm.colorado.edu
Mon Jan 13 22:52:22 PST 2003


Quoting "Kevin M. Myer" <kevin_myer at iu13.org>:

| Hello,
| 
| Running latest HEAD CVS checkout of Imp, Horde, and supporting friends
| with
| Apache 1.3.27, PHP 4.2.2 on Red Hat Linux 7.3 with all errata applied. 
| Apache
| is from Red Hat's errata RPM and PHP is based loosely on a Red Hat
| rawhide
| package.  PEAR is recent - I merged the newest PEAR releases of most of
| the
| classes yesterday afternoon, hoping the problem would go away but it
| didn't (and
| ended up creating a few more, like having logging stop after updating to
| the
| latest Log package).
| 
| Problem:  when sending a message that contains an attachment that is
| approximately larger than 1MB, the message comes through with an
| attachment of
| zero-bytes and the following error message is logged:
| 
| PHP Notice:  Object to string conversion in
| /mnt/web/virtual/webmail2-iu13/horde/lib/MIME/Part.php on line 1050
| 
| base64_encode() expects parameter 1 to be string, object given in
| /mnt/web/virtual/webmail2-iu13/horde/lib/MIME/Part.php on line 1105
| 
| The MIME headers are there - just no attachment.
| 
| I say approximately 1Mb because smaller attachements work but I haven't
| gone
| through and sent attachments of increasing size, in several kilobyte
| increments,
| to figure out exactly when this problem occurs - I just know its
| somewhere in
| the 1Mb range.
| 
| I do not believe it is a problem with my php configuration because I'm
| running
| with the following settings:
| 
| post_max_size = 16M
| upload_max_filesize = 10M
| memory_limit = 30M

Check to make sure you are editing the php.ini file that the webserver
actually reads, and make sure to restart the server.

michael


______________________________________________
Michael Slusarz [slusarz at bigworm.colorado.edu]
The University of Colorado at Boulder


More information about the imp mailing list