Technical Note On Desktop Messaging Performance; Thread 1 - Mailbox Status Change; Threads 2 And 3 - Imap4 Synchronization - NEC UX5000 Manual

Ux mail
Hide thumbs Also See for UX5000:
Table of Contents

Advertisement

Technical Note on Desktop Messaging Performance

UX Mail has four threads that handle IMAP4 email synchronization.

Thread 1 - Mailbox Status Change

Threads 2 and 3 - IMAP4 Synchronization

Thread 4 - SMTP Delivery
Thread 1 - Mailbox Status Change
When a subscriber receives a new message in their mailbox, UX Mail immediately updates the email server
with the new message status. If a mailbox has no messages, no synchronization occurs. Thread 1 does noth-
ing until a new message arrives.
Threads 2 and 3 - IMAP4 Synchronization
Threads 2 and 3 are the UX Mail synchronization threads that communicate with the site's email server.
These threads handle synchronization for new messages, deleted messages, and saved messages. To syn-
chronize with the email server, UX Mail polls the email server for email status updates and waits for a
response. UX Mail will continue this routine polling as long as it receives a proper response from the email
server. These two threads handle the synchronization for all email-enabled Subscriber Mailboxes. If a mail-
box has no messages, no synchronization occurs.
When the Subscriber Status Changes
If a subscriber has new messages, UX Mail will poll every 30 seconds (best case). If the subscriber deletes or
saves a message, UX Mail will poll every 60 seconds (best case). If UX Mail sends an update for a email-
enabled Subscriber Mailbox and does not receive the correct acknowledgement within 3 minutes:
1.
UX Mail goes back to its routine synchronization polling,
2.
Assumes the email server is unresponsive, and
3.
Does not change the status for the mailbox.
Delay in response can occur if the email server is busy or makes IMAP synchronization a low priority. Keep
in mind that this 3 minute delay affects synchronization for all email-enabled Subscriber Mailboxes.
The Sync Pending Timer
The Sync Pending Timer (set in Tools: Misc. Setup: g_bImap4SyncPendingTimer) controls what happens when
UX Mail sends a mailbox status update and receives an incorrect response from the email server. This can
occur, for example, if a new message is received by UX Mail but is not reported by the email server. When this
occurs:
1.
The Sync Pending Timer decrements (to handle the error condition).
2.
UX Mail goes back to its routine IMAP4 synchronization for other mailboxes.
3.
If the UX Mail doesn't receive a correct acknowledgement after one synchronization cycle (30 seconds
best case), UX Mail waits another cycle for a response.
4.
If the response is incorrect again, UX Mail repeats the process until the number of cycles set in the Sync
Pending Timer decrements to 0.
5.
UX Mail assumes the message has been listened to. It then updates the subscriber's message waiting
LED and saves the new message in the mailbox.
The Sync Pending Timer interval is in synchronization cycles (30 seconds per cycle best case).
UX Mail Manual
Misc. Setup
Chapter 3: Programming ◆ 529
Tools
3

Advertisement

Table of Contents
loading

Table of Contents