• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

php mail attachments

G

got-hosting

Guest
Hi all

I am a little new to plesk, so be gentle. :)

I had a client today complain that he cannot send mail with attachments in php. I did what most of us do, we automatically blame the script and move on, but I started digging beause I am new to plesk, esp 8.0 boxes and I wanted to see for myself. I am not a programmer at all, so I followed this tutorial:

http://codewalkers.com/tutorials/72/3.html

And it did to me exactly what it did to him. It seems that the headers are not getting passed right or something because what comes through in the message is a couple of the headers

Code:
Content-Type: text/plain

Content-Transfer-Encoding: 8bit


This is my great test!

Is what is in the body of the message, and the attachment is one of those

att######.dat

files with a bunch of gibberish in
there.

Anyone have any experience in these things that might be able to give me a hand?

Jon
 
How large was the file you were trying to attach? Is your PHP configured to allow files that size, and did your user click "attach" prior to clicking "send"?
 
The test file was very small, only 5K.

There is no attach button.
 
Back
Top