1MAIL::ACCOUNT::RESUME(3mxa)il::account Native API referenMcAeIL::ACCOUNT::RESUME(3x)
2
3
4
6 mail::account::resume - Resume after a suspend
7
9 #include <libmail/mail.H>
10
11
12
13 void mail::account::resume(void);
14
16 This function should be invoked when the application resumes after it
17 was suspended, or after any other lengthy delay in calling
18 mail::account::process. The application could've been suspended while
19 LibMAIL was in a middle of processing a background event. After resum‐
20 ing, the jump in the system clock may result in LibMAIL concluding that
21 the remote mail server timed out without responding, when the actual
22 response did come in while the application was suspended, and LibMAIL
23 just hasn't read it yet.
24
25 mail::account::process resets LibMAIL 's internal timeouts. Note that
26 not much can be done if the application remained suspended long enough
27 for the remote mail server to shut down the connection itself.
28
30 mail::account::process(3x).
31
32
33
34 10 April 2006 MAIL::ACCOUNT::RESUME(3x)