FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » post attachments don't work
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: post attachments don't work [message #33508 is a reply to message #33454] Tue, 05 September 2006 08:44 Go to previous messageGo to previous message
newnumbertwo is currently offline  newnumbertwo   United States
Messages: 38
Registered: June 2004
Karma:
Member
It does not look like the script is recognizing that the email has an attachment, but I'm not sure why. I've checked the structure of the email immediately before it's piped into the maillist.php script, and it definitely has the attachment.

It identifies itself with the Content-Type: header:

Content-Type: multipart/mixed; boundary="------------000506090801060606070709"

(for example)

I see a "case 'multipart/mixed':" line in the function decode_body, and from sticking in debugging errors, I can see that this Content-type is parsed properly, and that the condition '$this->body_sc > 1' is met (line 155), but once it goes into the routine to "// look if message has any attached files" (line 170), it doesn't find any attached files.

When I print out $this->body_s[$i]->headers['content-disposition']
instead of 'attachment' I get 'inline' (line 172).

What's going on here?

[Updated on: Tue, 05 September 2006 08:45]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Trouble with TestFORUM in new eGroupware install
Next Topic: Error message
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 03:27:45 GMT 2024

Total time taken to generate the page: 0.03759 seconds