A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Exchange 250 open objMessage limit



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old April 21st 06, 02:00 PM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 4
Default Exchange 250 open objMessage limit

I have read about this problem all over the forums, but have not come
across any answers yet.

I am creating MailItem objects within a VSTO C# Outlook add-in,
specifically in the SelectionChange event. This is to allow some
interigation of the selected mailItem. The problem I am facing is that
every time the event fires and a MailItem object is created, the "Open
Messages" count for that user increases by 1 on exchange. Fair enough,
but I cannot get the count to decrease when I move to the next
mailitem. I have tried:

Marshal.ReleaseComObject(myMail)
myMail.Close("with appropriate switch")
myMail = null

None of these seem to destroy the object and decrease the count. If I
cannot solve this problem, my whole project dissappears down the
plughole and I will be forced to buy "Off the shelf" Arrrghh.

Please help me, and thanks in advance.

Bev.

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Open RPC channel limit trouble Vaughan Outlook and VBA 6 April 18th 06 06:06 PM
Open Outlook without Exchange Server? blettj Outlook - Installation 3 March 29th 06 08:11 PM
Exchange Mailbox server prohibit from sending when reach mailbox size limit Milly Staples [MVP - Outlook] Outlook - General Queries 1 February 24th 06 07:41 PM
Max 250 items Why? Marco Outlook - General Queries 0 February 14th 06 04:13 AM
Limit in exchange 2003 250 item at a time Marco Outlook - General Queries 0 February 9th 06 02:43 AM


All times are GMT +1. The time now is 11:36 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.