Re: [PHP] Re: [PHP Attachement Problems - MAC ISSUE!!

2004-10-06 Thread PHP Junkie
Ave, Manuel... I saved the new email_message.php class that you sent me replacing the old one. I used the test_attachment_message.php to test the new class. This time it didn't send the email with the corrupted attachments, instead, gave me an error on the screen... This is the error that I

Re: [PHP] Re: [PHP Attachement Problems - MAC ISSUE!!

2004-10-06 Thread PHP Junkie
Ave, One more thing I'd like to point out, which I just discovered. The php code I was using earlier, prior to using Manuel's mail class... Was not able to send any kind of attachment except .txt files. Niether images nor pdf nor anything would go through without being corrupted. However, using

[PHP] Re: [PHP Attachement Problems

2004-10-05 Thread Manuel Lemos
Hello, On 10/04/2004 10:24 AM, Php Junkie wrote: I created a form which can accept 2 file attachments and send an HTML Email... Everything works great... The files even get attached and sent, the ONLY problem is... The PDF file I'm sending attached open up empty! They are all blank.. Like

Re: [PHP] Re: PHP Attachement Problems

2004-10-05 Thread PHP Junkie
Ave, I just tried your php mime class. I tried the test_attachment_message file. It did the same to the pdf attachment. Initially, it tested with a text and an image. The text attachment opened without a problem but the image was giving an error in opening. I left the text file attachment as is

Re: [PHP] Re: PHP Attachement Problems

2004-10-05 Thread Greg Donald
On Tue, 05 Oct 2004 15:04:14 -0400, PHP Junkie [EMAIL PROTECTED] wrote: I just tried your php mime class. I tried the test_attachment_message file. It did the same to the pdf attachment. Have you tried sending other PDFs by chance? Have you tried opening the PDF with other PDF viewers after

Re: [PHP] Re: [PHP Attachement Problems - MAC ISSUE!!

2004-10-05 Thread PHP Junkie
Ave, On a hunch.. I uploaded my original php script AND the php mime class to a normal linux server with Apache web server... And all the scripts are running fine! The PDF attachments go through fine. So I finally found out.. It's a MAC issue! Using my scripts on the MAC server is causing the

Re: [PHP] Re: [PHP Attachement Problems - MAC ISSUE!!

2004-10-05 Thread PHP Junkie
Manuel, Really appreciate your help. I created a new empty php file and put your given code in it. Upon running the test.php in my browser, it prints exactly this in my browser: could not open file I have a PowerMac G5 Machine, with MacOS X. I have PHP 5 installed from entropy.ch and have the

Re: [PHP] Re: [PHP Attachement Problems - MAC ISSUE!!

2004-10-05 Thread PHP Junkie
Ave, I replaced the code and added my PDF file in the required place, and this is what it displays now: Size 35823 Read 36704 I'll put in your address and send out the mail your way with the PDF attachment using the class script. Thanks a lot, Junkie On 10/5/04 3:51 PM, Manuel Lemos [EMAIL

Re: [PHP] Re: [PHP Attachement Problems - MAC ISSUE!!

2004-10-05 Thread Marek Kilimajer
PHP Junkie wrote: Ave, On a hunch.. I uploaded my original php script AND the php mime class to a normal linux server with Apache web server... And all the scripts are running fine! The PDF attachments go through fine. So I finally found out.. It's a MAC issue! Using my scripts on the MAC server