Question
I would like to know and understand the steps involved in fetching mail from pop3 server using plain c language
Solution
Steps:
- Connect to the server's port (usually 995) using OpenSSL
- Verify the certificate
- Send regular pop3 commands over the SSL socket you just opened. (LIST, RETR and so on)
- Retrieve the responses
- Close the socket
Or use a library that does all of the above for you
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow