Home: Perl Programming Help: Win32 Programming Help:
Win32::OLE : MAPI session limit


Oct 8, 2014, 1:57 PM

Views: 37271
Win32::OLE : MAPI session limit

I'm getting this error when I copy a large number of outlook items:

Mapi session exceeded the maximum of 250 objects of type "objtMessage".

I am using the Copy() command. I guess outlook must be keeping the connections open to the exchange server, does anyone know who to close the connection after a mail item has copied? I have tried $item->close() but it didn't work for me. Thanks


Oct 9, 2014, 6:28 PM

Views: 37201
Re: [Chancer] Win32::OLE : MAPI session limit

post some code plz..