ID:               28014
 User updated by:  josh at jamisonadvertising dot com
 Reported By:      josh at jamisonadvertising dot com
 Status:           Bogus
 Bug Type:         *Mail Related
 Operating System: Red Hat
 PHP Version:      4.3.4
 New Comment:

OK - well I found the problem.



magic_quotes_runtime



I'll post something in the mail() function.


Previous Comments:
------------------------------------------------------------------------

[2004-04-15 18:36:25] josh at jamisonadvertising dot com

OK - I'll try that.  Thank you for a much more helpful 

suggestion than the last one.

------------------------------------------------------------------------

[2004-04-15 18:31:15] [EMAIL PROTECTED]

I'm sorry you're having problems, but it's really a lot 

of work to download software and create test cases for 

bug reports. (It's not like we write those classes and 

we get lots of bugs each day.)



Why don't you report the problem to the authors of the 

mail class and see if they can reproduce it? If they 

can, they will be able to generate a PHP bug report that 

makes it easier for us to fix the problem.

------------------------------------------------------------------------

[2004-04-15 18:24:40] josh at jamisonadvertising dot com

Description:
------------
I reported this bug before, only to have one of your 

developers dissmiss it as bogus and an issue for PHP 

support which is pretty damned insulting. I would 

appreciate it if someone could try the referenced class 

file and see if they aren't able to reproduce the error.



Mail sent using mail() with attached files sends the 

mail, but the attached file arrives with bytes missing. 

I believe this to be a bug because the identical code 

(note the usage of the word IDENTITICAL) works on a box 

running 4.2.3



This particular installation of PHP was compiled with: 

'./configure' '--with-apache=../apache_1.3.29' '--with-

mysql=/usr/local/mysql' '--enable-memory-limit=yes' '--

enable-debug=no' '-with-mcrypt' '--enable-ftp' '--

enable-exif' '--enable-bcmath' '--with-xml' '--with-

pspell' '--with-pgsql' '--with-mhash' '--with-ming' '--

with-curl' '--with-gd' '--enable-gd-native-ttf' '--

enable-gd-imgstrttf' '--with-jpeg-dir=/usr/local/lib' 

'--with-png' '--with-zlib' '--with-freetype-dir=/usr/

local/include/freetype2' '--with-ttf' '--with-pdflib' 

'--with-tiff-dir=/usr/local/lib'





Reproduce code:
---------------
This is the second of two mail class files that produces the error on
4.3.4 or greater: http://phpmailer.sourceforge.net/



Expected result:
----------------
On 4.2.3, mail will arrive with an intact attachment.  

On 4.3.4 or greater, the mail will arrive with an 

attachment with bytes missing.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=28014&edit=1

Reply via email to