RE: [PHP-WIN] PLEASE HELP...Email attachment corruption

From: Date: Thu, 25 Mar 2004 13:25:55 +0000
Subject: RE: [PHP-WIN] PLEASE HELP...Email attachment corruption
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-23271@lists.php.net to get a copy of this message
Ron, A comment and a suggestion: 1) Your part separator should NOT be a constant - especially not a trivial one. Ideally it should be a random hash. As it stands, if one of your messages were to be incorporated into another message which also used the same trivial separator then you would encounter problems. I know that's not top of your worry list today but you should bear it in mind. 2) As a debug, I suggest you do a decode and save immediately after your base64 encode to $str. That way at least you will narrow the location of the problem down to either the preparation of the message or its transport. Roy ---------------------------------------------------------------- [This message has been routed via James V2.1.3 on REBEX-MERCURY]

« previous php.windows (#23271) next »