librelist archives

« back to archive

Folders are not retrieved from MS Exchange server via IMAP in local network

Folders are not retrieved from MS Exchange server via IMAP in local network

From:
Denis Kutlubaev
Date:
2012-09-22 @ 11:04
Hi all,

I have a corporate Exchanger server which is available via IMAP only in 
local network and via OWA outside. I want to connect to it, using MailCore
and read e-mails when I am in local network WiFi. Connection works, but 
folders are not retrieved. What might be the problem? Thanks.

Re: Folders are not retrieved from MS Exchange server via IMAP in local network

From:
Denis Kutlubaev
Date:
2012-09-22 @ 11:07
This is my code: 

NSSet *subFolders;
    @try {
        subFolders = [self.coreAccount subscribedFolders];
    }
    @catch (NSException *exception) {
        NSLog (@"Error while retrieving folders");
        return nil;
    }

Exception is not raising, but subFolders count is 0. 

22.09.2012, в 15:04, Denis Kutlubaev <alwawee@gmail.com> написал(а):

> Hi all,
> 
> I have a corporate Exchanger server which is available via IMAP only in 
local network and via OWA outside. I want to connect to it, using MailCore
and read e-mails when I am in local network WiFi. Connection works, but 
folders are not retrieved. What might be the problem? Thanks.

Re: [mailcore] Re: Folders are not retrieved from MS Exchange server via IMAP in local network

From:
Olivier Pallière
Date:
2012-09-22 @ 11:34
Hi Denis,

Did you try [self.coreAccount allFolders] ?

Does that return something?


Olivier./.

On Sep 22, 2012, at 1:07 PM, Denis Kutlubaev <alwawee@gmail.com> wrote:

> This is my code: 
> 
> NSSet *subFolders;
>     @try {
>         subFolders = [self.coreAccount subscribedFolders];
>     }
>     @catch (NSException *exception) {
>         NSLog (@"Error while retrieving folders");
>         return nil;
>     }
> 
> Exception is not raising, but subFolders count is 0. 
> 
> 22.09.2012, в 15:04, Denis Kutlubaev <alwawee@gmail.com> написал(а):
> 
>> Hi all,
>> 
>> I have a corporate Exchanger server which is available via IMAP only in
local network and via OWA outside. I want to connect to it, using MailCore
and read e-mails when I am in local network WiFi. Connection works, but 
folders are not retrieved. What might be the problem? Thanks.
> 

Re: [mailcore] Folders are not retrieved from MS Exchange server via IMAP in local network

From:
Denis Kutlubaev
Date:
2012-09-22 @ 11:36
No, didn't yet. Thanks. I'll try in Monday. 

22.09.2012, в 15:34, Olivier Pallière <olivier@molowa.com> написал(а):

> Hi Denis,
> 
> Did you try [self.coreAccount allFolders] ?
> 
> Does that return something?
> 
> 
> Olivier./.
> 
> On Sep 22, 2012, at 1:07 PM, Denis Kutlubaev <alwawee@gmail.com> wrote:
> 
>> This is my code: 
>> 
>> NSSet *subFolders;
>>     @try {
>>         subFolders = [self.coreAccount subscribedFolders];
>>     }
>>     @catch (NSException *exception) {
>>         NSLog (@"Error while retrieving folders");
>>         return nil;
>>     }
>> 
>> Exception is not raising, but subFolders count is 0. 
>> 
>> 22.09.2012, в 15:04, Denis Kutlubaev <alwawee@gmail.com> написал(а):
>> 
>>> Hi all,
>>> 
>>> I have a corporate Exchanger server which is available via IMAP only 
in local network and via OWA outside. I want to connect to it, using 
MailCore and read e-mails when I am in local network WiFi. Connection 
works, but folders are not retrieved. What might be the problem? Thanks.
>> 

Re: [mailcore] Folders are not retrieved from MS Exchange server via IMAP in local network

From:
Denis Kutlubaev
Date:
2012-10-08 @ 17:17
Thanks. This helped. 

Should have used allFolders instead of subscribed.

22.09.2012, в 15:36, Denis Kutlubaev <alwawee@gmail.com> написал(а):

> No, didn't yet. Thanks. I'll try in Monday. 
> 
> 22.09.2012, в 15:34, Olivier Pallière <olivier@molowa.com> написал(а):
> 
>> Hi Denis,
>> 
>> Did you try [self.coreAccount allFolders] ?
>> 
>> Does that return something?
>> 
>> 
>> Olivier./.
>> 
>> On Sep 22, 2012, at 1:07 PM, Denis Kutlubaev <alwawee@gmail.com> wrote:
>> 
>>> This is my code: 
>>> 
>>> NSSet *subFolders;
>>>     @try {
>>>         subFolders = [self.coreAccount subscribedFolders];
>>>     }
>>>     @catch (NSException *exception) {
>>>         NSLog (@"Error while retrieving folders");
>>>         return nil;
>>>     }
>>> 
>>> Exception is not raising, but subFolders count is 0. 
>>> 
>>> 22.09.2012, в 15:04, Denis Kutlubaev <alwawee@gmail.com> написал(а):
>>> 
>>>> Hi all,
>>>> 
>>>> I have a corporate Exchanger server which is available via IMAP only 
in local network and via OWA outside. I want to connect to it, using 
MailCore and read e-mails when I am in local network WiFi. Connection 
works, but folders are not retrieved. What might be the problem? Thanks.
>>> 
> 

Re: [mailcore] Folders are not retrieved from MS Exchange server via IMAP in local network

From:
Denis Kutlubaev
Date:
2012-10-04 @ 16:40
This solved the problem. Thanks.
22.09.2012, в 15:36, Denis Kutlubaev <alwawee@gmail.com> написал(а):

> No, didn't yet. Thanks. I'll try in Monday. 
> 
> 22.09.2012, в 15:34, Olivier Pallière <olivier@molowa.com> написал(а):
> 
>> Hi Denis,
>> 
>> Did you try [self.coreAccount allFolders] ?
>> 
>> Does that return something?
>> 
>> 
>> Olivier./.
>> 
>> On Sep 22, 2012, at 1:07 PM, Denis Kutlubaev <alwawee@gmail.com> wrote:
>> 
>>> This is my code: 
>>> 
>>> NSSet *subFolders;
>>>     @try {
>>>         subFolders = [self.coreAccount subscribedFolders];
>>>     }
>>>     @catch (NSException *exception) {
>>>         NSLog (@"Error while retrieving folders");
>>>         return nil;
>>>     }
>>> 
>>> Exception is not raising, but subFolders count is 0. 
>>> 
>>> 22.09.2012, в 15:04, Denis Kutlubaev <alwawee@gmail.com> написал(а):
>>> 
>>>> Hi all,
>>>> 
>>>> I have a corporate Exchanger server which is available via IMAP only 
in local network and via OWA outside. I want to connect to it, using 
MailCore and read e-mails when I am in local network WiFi. Connection 
works, but folders are not retrieved. What might be the problem? Thanks.
>>> 
>