Skip to content

Stop subscribe mailbox with unknown error #174

@duongkha

Description

@duongkha

Hi,

I am trying to subscribe a mailbox to get new email coming and the application is running continuously to monitor the new email automatically. I use SubscribeToStreamingNotificationsOnAllFolders and StreamingSubscriptionConnection with timeout 30 minutes.

I also subscribe OnDisconnect event to reconnect by calling connection.Open();
and OnNotificationEvent to listen new email.

It was working very well for monitoring the new email in mailbox, however, it is stopped after running for a while (a day or some hours) without error alarm. I don't know when i will happen, just see it stops listen the new email. I have no idea if this is an issue of library or we need to do something extra to handle the case to re-connect to mailbox.

Could you please advise what i can do to fix the issue?

Thanks in advanced.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions