|
|
|
date: Fri, 13 Jun 2008 18:12:00 -0700,
group: microsoft.public.platformsdk.mapi
back
Re: MAPI Logon Limitation?
Yes, there is a limitation on the number of mailbox you can open at a time.
refer to
http://support.microsoft.com/kb/q194627/
http://support.microsoft.com/default.aspx?scid=kb;en-us;200160
Are you keeping all 33 mailbox open?? If so, close the mailbox as soon
as you are done with it, then hopefully you will be able to open all the
mailbox.
Regards,
Ashutosh Bhawasinka
Leslie Xia wrote:
> Hi All
>
> I just create a service in my machine, and want to logon to different user
> account in exchange2007 server, and try to get inbox list. My problem is that
> only 33 acounts works fine, and when I try to logon the 34th account, it
> always fail.
> Then I stop logon the 33th account, 34th account is OK.
> Is there any limitaion for MAPI application to logon to accounts in
> exchange2007 serverat the same time?
>
> Thanks a lot.
>
> leslie
date: Sun, 15 Jun 2008 13:40:40 +0530
author: Ashutosh Bhawasinka
Re: MAPI Logon Limitation?
Why? Is there any limitation?
Actually, when I change code to logon and do work, then logout ASAP after
done, there is memory leak problem. Even I just invoke MAPILogonEx, and then
logoff MAPISession, the leak problem still happens.
leslie
"Dmitry Streblechenko" wrote:
> Do not create/use multiple profiles to connect to differnt mailboxes.
> Connect to the current user's mailbox, you can then open other mailboxes
> using IExchangeManageStore
>
> --
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
> -
> "Leslie Xia" wrote in message
> news:272EE41A-CC47-4336-AA81-34A431630921@microsoft.com...
> > Hi All
> >
> > I just create a service in my machine, and want to logon to different user
> > account in exchange2007 server, and try to get inbox list. My problem is
> > that
> > only 33 acounts works fine, and when I try to logon the 34th account, it
> > always fail.
> > Then I stop logon the 33th account, 34th account is OK.
> > Is there any limitaion for MAPI application to logon to accounts in
> > exchange2007 serverat the same time?
> >
> > Thanks a lot.
> >
> > leslie
>
>
>
date: Mon, 16 Jun 2008 12:15:02 -0700
author: Leslie Xia
Re: MAPI Logon Limitation?
are you calling Release on all the interfaces you retrieved??
also, you need to free the SRow/SRowSet when done - for these the MAPI
system allocates the memory and you need to free them!
Regards,
Ashutosh
Leslie Xia wrote:
> Why? Is there any limitation?
>
> Actually, when I change code to logon and do work, then logout ASAP after
> done, there is memory leak problem. Even I just invoke MAPILogonEx, and then
> logoff MAPISession, the leak problem still happens.
>
> leslie
>
> "Dmitry Streblechenko" wrote:
>
>> Do not create/use multiple profiles to connect to differnt mailboxes.
>> Connect to the current user's mailbox, you can then open other mailboxes
>> using IExchangeManageStore
>>
>> --
>> Dmitry Streblechenko (MVP)
>> http://www.dimastr.com/
>> OutlookSpy - Outlook, CDO
>> and MAPI Developer Tool
>> -
>> "Leslie Xia" wrote in message
>> news:272EE41A-CC47-4336-AA81-34A431630921@microsoft.com...
>>> Hi All
>>>
>>> I just create a service in my machine, and want to logon to different user
>>> account in exchange2007 server, and try to get inbox list. My problem is
>>> that
>>> only 33 acounts works fine, and when I try to logon the 34th account, it
>>> always fail.
>>> Then I stop logon the 33th account, 34th account is OK.
>>> Is there any limitaion for MAPI application to logon to accounts in
>>> exchange2007 serverat the same time?
>>>
>>> Thanks a lot.
>>>
>>> leslie
>>
>>
date: Tue, 17 Jun 2008 01:31:46 +0530
author: Ashutosh Bhawasinka
Re: MAPI Logon Limitation?
Memory leak is is one of the reasons.
Secondly, the EX provider uses the identity of the current Windows user to
authenticate with the server, so the rule of thumb is to open the current
user's mailbox.
Thirdly, being able to open the mailbox and tread the contnets of the Inbox
folder requires fewer priviledges than logging as that particular user.
And last, you woul not need to create that many profiles manually.
--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Leslie Xia" wrote in message
news:5622A419-605A-459C-BE1D-6ADBE32BA2CF@microsoft.com...
> Why? Is there any limitation?
>
> Actually, when I change code to logon and do work, then logout ASAP after
> done, there is memory leak problem. Even I just invoke MAPILogonEx, and
> then
> logoff MAPISession, the leak problem still happens.
>
> leslie
>
> "Dmitry Streblechenko" wrote:
>
>> Do not create/use multiple profiles to connect to differnt mailboxes.
>> Connect to the current user's mailbox, you can then open other mailboxes
>> using IExchangeManageStore
>>
>> --
>> Dmitry Streblechenko (MVP)
>> http://www.dimastr.com/
>> OutlookSpy - Outlook, CDO
>> and MAPI Developer Tool
>> -
>> "Leslie Xia" wrote in message
>> news:272EE41A-CC47-4336-AA81-34A431630921@microsoft.com...
>> > Hi All
>> >
>> > I just create a service in my machine, and want to logon to different
>> > user
>> > account in exchange2007 server, and try to get inbox list. My problem
>> > is
>> > that
>> > only 33 acounts works fine, and when I try to logon the 34th account,
>> > it
>> > always fail.
>> > Then I stop logon the 33th account, 34th account is OK.
>> > Is there any limitaion for MAPI application to logon to accounts in
>> > exchange2007 serverat the same time?
>> >
>> > Thanks a lot.
>> >
>> > leslie
>>
>>
>>
date: Mon, 16 Jun 2008 13:58:03 -0700
author: Dmitry Streblechenko
Re: MAPI Logon Limitation?
Thank you guys very much. And only logon current user and logon to other
mailbox is better.
BTW, it is difficult to find out a full help file for all MAPI, do yo know
where to download the MAPI help?
Thanks again.
leslie
"Dmitry Streblechenko" wrote:
> Memory leak is is one of the reasons.
> Secondly, the EX provider uses the identity of the current Windows user to
> authenticate with the server, so the rule of thumb is to open the current
> user's mailbox.
> Thirdly, being able to open the mailbox and tread the contnets of the Inbox
> folder requires fewer priviledges than logging as that particular user.
> And last, you woul not need to create that many profiles manually.
>
> --
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
> -
> "Leslie Xia" wrote in message
> news:5622A419-605A-459C-BE1D-6ADBE32BA2CF@microsoft.com...
> > Why? Is there any limitation?
> >
> > Actually, when I change code to logon and do work, then logout ASAP after
> > done, there is memory leak problem. Even I just invoke MAPILogonEx, and
> > then
> > logoff MAPISession, the leak problem still happens.
> >
> > leslie
> >
> > "Dmitry Streblechenko" wrote:
> >
> >> Do not create/use multiple profiles to connect to differnt mailboxes.
> >> Connect to the current user's mailbox, you can then open other mailboxes
> >> using IExchangeManageStore
> >>
> >> --
> >> Dmitry Streblechenko (MVP)
> >> http://www.dimastr.com/
> >> OutlookSpy - Outlook, CDO
> >> and MAPI Developer Tool
> >> -
> >> "Leslie Xia" wrote in message
> >> news:272EE41A-CC47-4336-AA81-34A431630921@microsoft.com...
> >> > Hi All
> >> >
> >> > I just create a service in my machine, and want to logon to different
> >> > user
> >> > account in exchange2007 server, and try to get inbox list. My problem
> >> > is
> >> > that
> >> > only 33 acounts works fine, and when I try to logon the 34th account,
> >> > it
> >> > always fail.
> >> > Then I stop logon the 33th account, 34th account is OK.
> >> > Is there any limitaion for MAPI application to logon to accounts in
> >> > exchange2007 serverat the same time?
> >> >
> >> > Thanks a lot.
> >> >
> >> > leslie
> >>
> >>
> >>
>
>
>
date: Tue, 17 Jun 2008 11:03:40 -0700
author: Leslie Xia
Re: MAPI Logon Limitation?
This newsgroup and the MAPI list -
http://peach.ease.lsoft.com/Archives/mapi-l.html - are your only MAPI help.
--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Leslie Xia" wrote in message
news:785EA52E-FDA9-493B-AA2F-931334D04B59@microsoft.com...
> Thank you guys very much. And only logon current user and logon to other
> mailbox is better.
> BTW, it is difficult to find out a full help file for all MAPI, do yo know
> where to download the MAPI help?
>
> Thanks again.
>
> leslie
>
>
> "Dmitry Streblechenko" wrote:
>
>> Memory leak is is one of the reasons.
>> Secondly, the EX provider uses the identity of the current Windows user
>> to
>> authenticate with the server, so the rule of thumb is to open the current
>> user's mailbox.
>> Thirdly, being able to open the mailbox and tread the contnets of the
>> Inbox
>> folder requires fewer priviledges than logging as that particular user.
>> And last, you woul not need to create that many profiles manually.
>>
>> --
>> Dmitry Streblechenko (MVP)
>> http://www.dimastr.com/
>> OutlookSpy - Outlook, CDO
>> and MAPI Developer Tool
>> -
>> "Leslie Xia" wrote in message
>> news:5622A419-605A-459C-BE1D-6ADBE32BA2CF@microsoft.com...
>> > Why? Is there any limitation?
>> >
>> > Actually, when I change code to logon and do work, then logout ASAP
>> > after
>> > done, there is memory leak problem. Even I just invoke MAPILogonEx, and
>> > then
>> > logoff MAPISession, the leak problem still happens.
>> >
>> > leslie
>> >
>> > "Dmitry Streblechenko" wrote:
>> >
>> >> Do not create/use multiple profiles to connect to differnt mailboxes.
>> >> Connect to the current user's mailbox, you can then open other
>> >> mailboxes
>> >> using IExchangeManageStore
>> >>
>> >> --
>> >> Dmitry Streblechenko (MVP)
>> >> http://www.dimastr.com/
>> >> OutlookSpy - Outlook, CDO
>> >> and MAPI Developer Tool
>> >> -
>> >> "Leslie Xia" wrote in message
>> >> news:272EE41A-CC47-4336-AA81-34A431630921@microsoft.com...
>> >> > Hi All
>> >> >
>> >> > I just create a service in my machine, and want to logon to
>> >> > different
>> >> > user
>> >> > account in exchange2007 server, and try to get inbox list. My
>> >> > problem
>> >> > is
>> >> > that
>> >> > only 33 acounts works fine, and when I try to logon the 34th
>> >> > account,
>> >> > it
>> >> > always fail.
>> >> > Then I stop logon the 33th account, 34th account is OK.
>> >> > Is there any limitaion for MAPI application to logon to accounts in
>> >> > exchange2007 serverat the same time?
>> >> >
>> >> > Thanks a lot.
>> >> >
>> >> > leslie
>> >>
>> >>
>> >>
>>
>>
>>
date: Tue, 17 Jun 2008 15:21:29 -0700
author: Dmitry Streblechenko
Re: MAPI Logon Limitation?
Hi
I have another question, when I try to delete a Message through MAPI, there
is a warning code "MAPI_W_PARTIAL_COMPLETION", what that mean? and the
message is still in inbox
leslie
"Dmitry Streblechenko" wrote:
> Memory leak is is one of the reasons.
> Secondly, the EX provider uses the identity of the current Windows user to
> authenticate with the server, so the rule of thumb is to open the current
> user's mailbox.
> Thirdly, being able to open the mailbox and tread the contnets of the Inbox
> folder requires fewer priviledges than logging as that particular user.
> And last, you woul not need to create that many profiles manually.
>
> --
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
> -
> "Leslie Xia" wrote in message
> news:5622A419-605A-459C-BE1D-6ADBE32BA2CF@microsoft.com...
> > Why? Is there any limitation?
> >
> > Actually, when I change code to logon and do work, then logout ASAP after
> > done, there is memory leak problem. Even I just invoke MAPILogonEx, and
> > then
> > logoff MAPISession, the leak problem still happens.
> >
> > leslie
> >
> > "Dmitry Streblechenko" wrote:
> >
> >> Do not create/use multiple profiles to connect to differnt mailboxes.
> >> Connect to the current user's mailbox, you can then open other mailboxes
> >> using IExchangeManageStore
> >>
> >> --
> >> Dmitry Streblechenko (MVP)
> >> http://www.dimastr.com/
> >> OutlookSpy - Outlook, CDO
> >> and MAPI Developer Tool
> >> -
> >> "Leslie Xia" wrote in message
> >> news:272EE41A-CC47-4336-AA81-34A431630921@microsoft.com...
> >> > Hi All
> >> >
> >> > I just create a service in my machine, and want to logon to different
> >> > user
> >> > account in exchange2007 server, and try to get inbox list. My problem
> >> > is
> >> > that
> >> > only 33 acounts works fine, and when I try to logon the 34th account,
> >> > it
> >> > always fail.
> >> > Then I stop logon the 33th account, 34th account is OK.
> >> > Is there any limitaion for MAPI application to logon to accounts in
> >> > exchange2007 serverat the same time?
> >> >
> >> > Thanks a lot.
> >> >
> >> > leslie
> >>
> >>
> >>
>
>
>
date: Thu, 19 Jun 2008 12:12:02 -0700
author: Leslie Xia
Re: MAPI Logon Limitation?
That means the mesage hasn't been deleted.
Did you open store/folder in the r/w mode? Do you have the right access
rights?
--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Leslie Xia" wrote in message
news:DEC024BB-A127-4E60-ACA4-33D4D01BF3A6@microsoft.com...
> Hi
>
> I have another question, when I try to delete a Message through MAPI,
> there
> is a warning code "MAPI_W_PARTIAL_COMPLETION", what that mean? and the
> message is still in inbox
>
> leslie
>
> "Dmitry Streblechenko" wrote:
>
>> Memory leak is is one of the reasons.
>> Secondly, the EX provider uses the identity of the current Windows user
>> to
>> authenticate with the server, so the rule of thumb is to open the current
>> user's mailbox.
>> Thirdly, being able to open the mailbox and tread the contnets of the
>> Inbox
>> folder requires fewer priviledges than logging as that particular user.
>> And last, you woul not need to create that many profiles manually.
>>
>> --
>> Dmitry Streblechenko (MVP)
>> http://www.dimastr.com/
>> OutlookSpy - Outlook, CDO
>> and MAPI Developer Tool
>> -
>> "Leslie Xia" wrote in message
>> news:5622A419-605A-459C-BE1D-6ADBE32BA2CF@microsoft.com...
>> > Why? Is there any limitation?
>> >
>> > Actually, when I change code to logon and do work, then logout ASAP
>> > after
>> > done, there is memory leak problem. Even I just invoke MAPILogonEx, and
>> > then
>> > logoff MAPISession, the leak problem still happens.
>> >
>> > leslie
>> >
>> > "Dmitry Streblechenko" wrote:
>> >
>> >> Do not create/use multiple profiles to connect to differnt mailboxes.
>> >> Connect to the current user's mailbox, you can then open other
>> >> mailboxes
>> >> using IExchangeManageStore
>> >>
>> >> --
>> >> Dmitry Streblechenko (MVP)
>> >> http://www.dimastr.com/
>> >> OutlookSpy - Outlook, CDO
>> >> and MAPI Developer Tool
>> >> -
>> >> "Leslie Xia" wrote in message
>> >> news:272EE41A-CC47-4336-AA81-34A431630921@microsoft.com...
>> >> > Hi All
>> >> >
>> >> > I just create a service in my machine, and want to logon to
>> >> > different
>> >> > user
>> >> > account in exchange2007 server, and try to get inbox list. My
>> >> > problem
>> >> > is
>> >> > that
>> >> > only 33 acounts works fine, and when I try to logon the 34th
>> >> > account,
>> >> > it
>> >> > always fail.
>> >> > Then I stop logon the 33th account, 34th account is OK.
>> >> > Is there any limitaion for MAPI application to logon to accounts in
>> >> > exchange2007 serverat the same time?
>> >> >
>> >> > Thanks a lot.
>> >> >
>> >> > leslie
>> >>
>> >>
>> >>
>>
>>
>>
date: Thu, 19 Jun 2008 15:10:13 -0700
author: Dmitry Streblechenko
|
|