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

Home » FUDforum » How To » some trobles in file attachments/
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: some trobles in file attachments/ [message #165335 is a reply to message #161605] Fri, 27 May 2011 16:35 Go to previous messageGo to previous message
eclipsewebmaster is currently offline  eclipsewebmaster   Canada
Messages: 46
Registered: November 2009
Location: Ottawa, Ontario, Canada
Karma:
Member
I've been having this problem since forever. It seems the Content-type:text/plain header was interfering with Thunderbird's ability to parse the attachment. Here's a quich patch to nntp.inc which omits sending a MIME header if attachments are present.

fputs($this->fs, "User-Agent: FUDforum\r\n");
+ if (!is_array($attch)) {
+ fputs($this->fs, 'Content-Type: text/plain; charset='. $GLOBALS['CHARSET'] ."; format=flowed\r\n");
+ }
- fputs($this->fs, 'Content-Type: text/plain; charset='. $GLOBALS['CHARSET'] ."; format=flowed\r\n");
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Permanently remove OR replace the logo on the Forum
Next Topic: HELP?
Goto Forum:
  

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

Current Time: Wed Nov 27 15:26:04 GMT 2024

Total time taken to generate the page: 0.04217 seconds