Hello,
when executing the pop3 sampleprogram parse_extra.c in order to having the SBC receive mails and delete them from the POP3 mailserver, it seems that often mails are missing.
More detailed explanation: please see below. Thanks in advance for having a look at this issue I’m dealing with!!
Noël Willems
I did build in a small loop into the sample program so the mailbox is checked every 30secs, further no modifications.
No other program is accessing the mailbox.
It doesn’t happen when I perform the same with MSOutlook.
For testing and setting up this text I did send 11 mails, with the single charactar subjects a-b-c-d-e-f-g-h-i-j-k.
Chronological:
- The first mail with subj “a” is received correctly.
- 2nd mail with subj “b” is sent –> wait for checkkingmailbox –> no mail!
- Try to send 2 mails before the next mailboxcheck: 3rd & 4th mail with subj "c "and “d” are missing –> no mail!
- When I send again 2 mails before the next 30secs are passed and: these mails are received (“e”-“f”).
- “h” and “i”: missing
- “j” and “k”: OK
… see stdio output below.
When I switch of the deleting, it works better, but each time all the mails on the server are received which is not disered.
Is there something wrong with the pop3.lib? I couldn’t find any mistakes concerning pop_msgcount or pop_msgnum in it, so I guess it has to do with me :-).
What could be causing this? The mailserver?
below one can find the stdio output (dynC9.62) for sending a the above mails to the SBC’s mail adress.
I removed the sender’s e-mail out of the text.
Resolving name…
Calling pop3_getmail()…
Entering pop3_tick()…
RECEIVING MESSAGE <1>
From: =?iso-8859-1?Q?—
To:
Subject: a
POP was successful!
All done!
Resolving name…
Calling pop3_getmail()…
Entering pop3_tick()…
POP was successful!
All done!
Resolving name…
Calling pop3_getmail()…
Entering pop3_tick()…
POP was successful!
All done!
Resolving name…
Calling pop3_getmail()…
Entering pop3_tick()…
RECEIVING MESSAGE<2>
From: =?iso-8859-1?Q?—
To:
Subject: e
RECEIVING MESSAGE<3>
From: =?iso-8859-1?Q?—
To:
Subject: f
POP was
successful!
All done!
Resolving name…
Calling pop3_getmail()…
Entering pop3_tick()…
RECEIVING MESSAGE <1>
From: =?iso-8859-1?Q?—
To:
Subject: g
POP was
successful!
All done! *******************************************
Resolving name…
Calling pop3_getmail()…
Entering pop3_tick()…
POP was successful!
All done!
Resolving name…
Calling pop3_getmail()…
Entering pop3_tick()…
RECEIVING MESSAGE<2>
From: =?iso-8859-1?Q?—
To:
Subject: j
RECEIVING MESSAGE<3>
From: =?iso-8859-1?Q?—
To:
Subject: k
POP was successful!
All done!
Resolving name…
Calling pop3_getmail()…
Entering pop3_tick()…
POP was successful!
All done!
Resolving name…
Calling pop3_getmail()…
Entering pop3_tick()…
POP was successful!
All done!
Resolving name…
Calling pop3_getmail()…
Entering pop3_tick()…
POP was successful!
All done!