Oct 8, 2014, 1:57 PM
Post #1 of 2
I'm getting this error when I copy a large number of outlook items:
Win32::OLE : MAPI session limit
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