This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20
Receiving Mail, Overview
|
# | UniqueID | Date | From | Subject |
1 | bd573a4dbd573a4d | 1 Jul 1998 … | jimw@acme.com | Sales lead… |
2 | bd574dc7bd574dc7 | 1 Jul 1998 … | frank@acme.com | Site-License order |
3 | bd575f06bd575f06 | 3 Jul 1998 … | joe@acme.com | Lunch anyone? |
4 | bd5761d4bd5761d4 | 4 Jul 1998 … | kelly@acme.com | Your wife called… |
5 | bd577dc7db577dc5 | 4 Jul 1995 … | track@fedex.com | FedEx tracking |
During the session you delete message numbers 3 and 4. When you Logout of this session your requested deletions are committed. Now when you log back into the server your message list would be renumbered as:
# | UniqueID | Date | From | Subject |
1 | bd573a4dbd573a4d | 1 Jul 1998 … | jimw@acme.com | Sales lead… |
2 | bd574dc7bd574dc7 | 1 Jul 1998 … | frank@acme.com | Site-License order |
3 | bd577dc7db577dc5 | 4 Jul 1995 … | track@fedex.com | FedEx tracking |
msgNumber is not a static value in relation to any specific message and will change from session to session dependent on its relation to other messages in the mailbox at the time the session was opened. The uniqueID however is a unique number assigned to the message when it was received by the server. This number is calculated using the time and date that the message is received and is a value assigned by your POP3 server. Unfortunately, POP3 servers do not use the uniqueID as the primary reference to its messages. Throughout the POP3 commands you will need to specify the msgNumber as the reference to messages on the server. Developers may need to take some care if developing solutions which bring references to messages into a database but leave the body of the message on the server.
Note: For greater flexibility, 4D Internet commands let you pass a POP3, IMAP or FTP connection reference directly to low-level TCP commands and vice versa. For more information, refer to the Low Level Routines, Overview section.
Product: 4D
Theme: IC POP3 Review Mail (deprecated)
4D Internet Commands ( 4D v20)