Re: [PHP] corrupted attachvent by base64_encode

2003-11-16 Thread Raditha Dissanayake
Hi, It's not a problem with the base64 encoding. When sending messages of this nature you have to create a certain set of headers. I am sorry i cannot remembers the exact RFC numbers involved (there are several) by 822 is a good place to start i think. Or if you like short cuts, you can send y

[PHP] corrupted attachvent by base64_encode

2003-11-16 Thread Oleg Borzenkov
Hi, All! I have a problem with sending binary attachment with mail() function. To do so I use standart scheme: chunk_split(base64_encode(fread($f,filesize($filename. The system is FreeBSD4.7, Apache2, PHP 4.3.4 When the attachment is plain text file , it passes well. By when I use excell, zip