This example demonstrates how to retrieve an email from a POP3 server and save the message's contents on your hard drive. The message will not be deleted from your POP3 account, so you could actually retrieve it again if you needed to.
The user account you specify should have at least one email message on the POP server in order for this example to work. An email can be sent to the account you specify with a different example, click here.
Prepared Example Files
The archive contains one file:
Batch File Contents
This is the content of the batch file:
NetMailBot.exe -receive -popreceive 1 -popserver localhost -popuser email@example.com -poppassword secret
NOTE: The parameter -receive is required whenever using the POP3 parameters; this parameter puts NetMailBot into what might be called "POP3 mode" as opposed to "SMTP mode" which is for sending mails.