You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2008-09-04 12:10:58

carnifun
Member
Registered: 2008-09-04
Posts: 2

Possibly a bug in the mailgate.class

Hi all

I have a segmentation fault while using imap_open through mailgate.class
this happens only if the mailfolder is empty.

I have been debuging the mail_open call, it seems to throw a MAIL error which will be
thrown by php at the end of parsing the page as E_NOTICE Error  "Mailbox is empty"
Nothing ist wrong with that normaly , but this seem to cause the segmentation fault on the php

Does any one have same Problems or maybe an idea how to work around it

thanks a lot

Moe

Offline

#2 2008-09-04 19:53:46

JMD
GLPI - Lead
Registered: 2004-09-13
Posts: 9,180
Website

Re: Possibly a bug in the mailgate.class

no pb with this, version of php ?


JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au  projet GLPI   : Soutenir

Offline

#3 2008-09-05 09:31:27

carnifun
Member
Registered: 2008-09-04
Posts: 2

Re: Possibly a bug in the mailgate.class

I have version 5.0, and I think I have found a work around for it .
After connection with imap_open, you must retrieve the errors with imap_error() to get ride of the
notice failure !
this is working for me now there is no Segmentaion Fault more !

see u

Offline

Board footer

Powered by FluxBB