[imp] smalls Attachments problem again

Poirier Xavier xpoirier@ch-bourg01.fr
Thu, 02 Aug 2001 15:56:53 +0200 (CEST)


En réponse à Jan Schneider <janmailing@gmx.de>:

I have missed somthing perhaps,
I have IMP CVS distribs with last Update, and I don' t find any file 
named "mimetypes.lib" - where do you found it ?
Even I make the modif. here, I have an error with the function "localeconv()" , 
I don' t know if it's a php or imp function but I don' t have it.
please help

you wrote:
> Hi,
> 
> try this patch:
> 
> --- mimetypes.lib       2000/09/15 20:20:12     1.8.2.21
> +++ mimetypes.lib       2001/08/02 12:16:33
> @@ -125,7 +125,8 @@
>  
>         // set the size - bytes and kilobytes
>         $mime->bytes = (isset($mime->bytes)) ? $mime->bytes : 0;
> -       $mime->size = (isset($mime->bytes)) ? sprintf('%0.2f', $mime-
> >bytes/1024): '?';
> +       $localeinfo = localeconv();
> +       $mime->size = (isset($mime->bytes)) ? number_format($object-
> >bytes/1024, 2, $localeinfo['decimal_point'], '') : '?';
>  } // mimeParse()
>  
>  function mimeSummary ($mime) {
> 
> I don't know if it works because I don't have a imp version 2.2.3 but i=
t
> fixed 
> the problem in imp cvs.
> 
> Btw, please don't send emails that consist mostly of signatures and pgp
> keys.
> 
> Jan.
> 
> Zitat von Poirier Xavier <xpoirier@ch-bourg01.fr>:
> 
> > Hi all,
> > 
> > IMP 2.2.3 HORDE 1.2.3 LINUX mandrake 7.2 KERNEL 2.2.4 PHP 4pl1 ...
> > I posted before that I encountered sommes problems with attachment
> files
> > witch 
> > are too small - they not appear like an attachment for the recipient
> !
> > I noticed that it is < 900 bytes of an attachment.
> > Someone says that I have to upgrade my IMP version (I hope it was not
> the 
> > outlook express adept!) to 2.2.4 , but I 'm sorry 
> > 
> > I CAN'T UPGRADE MY IMP version NOW!!
> > 
> > Is there somewere an IMP adept who can help me to find the bug in the
> code
> > ?
> > and I'll modify it.
> > Because ALL is working very good for us with IMP 2.2.3 !!!
> > Thanks.
> > 
> > I love GNU! what a very good work!
> > xavier.
> > 
> 
> 
>:::::::::::::::::::::::::::::::::::::::: 
> AMMMa AG - discover your knowledge
>:::::::::::::::::::::::::::
> Detmolder Str. 25-33 :: D-33604 Bielefeld
> fon +49.521.96878-0 :: fax  +49.521.96878-20
> http://www.ammma.de
>::::::::::::::::::::::::::::::::::::::::::::::
> 
> -- 
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> 




                    7
                   QS/
/                 s@C#            /@^
 @R            R@@@@@@~          ^@@    Xavier Poirier
 G@@         G@@@@@@@@@@         R@~    C.H Bourg en Bresse
  @@        CB@@RB@@#@@@@        B@     xpoirier@ch-bourg01.fr 
  @@Q       R@@   /   B@@K      S@@^    
  @@@       @@/ B O @ 7@@@      B@@ 
  B@@R      @@~ R/@ # G@@@     S@@@ 
  K@@@(     B@33R737SR7G@@     B@@@ 
  7@@@@     B@%7777777e@@@    @@@@@ 
   @@@@@    B@@G77777Q@@@@   B@@@@t
   B@@@@@^  s@@@#77%@@@@@@ ^B@@@@@