You must create an application that allows you to read incoming messages using the POP3 protocol. Communication with the user will be done in text mode. At startup, the program will display a menu (a list of options) which will allow you to choice operations: receiving messages from the POP3 server, read messages from your inbox, configuration, exiting the program. For receiving messages, the program will connect to the POP3 server and bring all the messages found on the server, then delete them from the server and store them locally in your inbox. In this stage, you must detect and display (correctly parsed and interpreted) any errors that might be occurred (the server could not be reached, user password invalid, etc…). The messages stored in the inbox can be read by selecting the third option. In this case you will list the received messages, one per line format: Nr. / From / Subject / Date / Size. After listing the messages you will be able to view a message by entering the corresponding number (you will see only the message content and fields like From: To: Date: Subject: (without other headers)). Configuration option will allow the introduction of email address of the client, POP3 server, user and password used to access the POP3 server. Inbox is a directory that stores each message being associated with the file. *Check POP3 protocol in RFC 1939 ([url removed, login to view]) *The POP3 server associated for this test is [url removed, login to view]; accounts are created from [url removed, login to view]
[url removed, login to view] and fully-functional source code of the program. 2. A Makefile configuration file. 3. A [url removed, login to view] file in witch you'll explain shortly what you did there.
Linux Ubuntu. Program must be compiled with GCC provided by the OS.