steffen: server/kolab-resource-handlers/kolab-resource-handlers/freebusy freebusy, 1.3, 1.4

cvs at intevation.de cvs at intevation.de
Fri Jun 25 01:01:40 CEST 2004


Author: steffen

Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy
In directory doto:/tmp/cvs-serv28922/kolab-resource-handlers/freebusy

Modified Files:
	freebusy 
Log Message:
hack for Outlook calendar mails

Index: freebusy
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusy,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- freebusy	23 Jun 2004 08:14:40 -0000	1.3
+++ freebusy	24 Jun 2004 23:01:38 -0000	1.4
@@ -155,6 +155,12 @@
     foreach ($messages as $msg) {
         // Fetch the message
         $textmsg = @imap_fetchheader($imap, $msg, FT_UID | FT_PREFETCHTEXT);
+	if( imap_last_error() == "Unexpected characters at end of address: <>") {
+	  // We have a message with an empty address from OL,
+	  // just ignore the error
+	  imap_errors();
+        }
+
         $textmsg .= @imap_body($imap, $msg, FT_UID);
         testIMAPError();
 





More information about the commits mailing list