Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Pop3 Class Reference
Handling all POP3 related aspects. More...
#include <pop3.h>
Public Member Functions | |
| Pop3 (const char *servername, const char *username, const char *password) | |
| Creates the POP3 handler. | |
| ~Pop3 () | |
| closes the connection, and cleans up resources | |
| list< string > * | getMessages () |
| Retrieve a list of all message IDs. | |
| Pop3Message * | getMessage (string id, bool getSig=false, bool deleteOnReceive=false) |
| retrieves as single message | |
| bool | deleteMessage (string id) |
| bool | init () |
| Connects to the server. | |
| void | close () |
| closes the connection, and cleans up resources | |
Detailed Description
Handling all POP3 related aspects.
All operations are synchronous. This class expects a set-up network connection.
Needed libraries: DNSResolver NetServices (for TCP socket), or NetServicesMin
Definition at line 68 of file pop3.h.
Constructor & Destructor Documentation
| Pop3 | ( | const char * | servername, |
| const char * | username, | ||
| const char * | password | ||
| ) |
Member Function Documentation
| void close | ( | ) |
| bool deleteMessage | ( | string | id ) |
| Pop3Message * getMessage | ( | string | id, |
| bool | getSig = false, |
||
| bool | deleteOnReceive = false |
||
| ) |
| list< string > * getMessages | ( | ) |
Generated on Wed Jul 13 2022 02:57:50 by
1.7.2
POP3