devxlogo

POP3 E-mail notifier using Winsock

POP3 E-mail notifier using Winsock

Question:
What parameters I need to query a finger server to check if new POP3 e-mail has arrived ?

Finger is commonly used for getting connected users information (sending a blank line), but several Commercial Packages use POP3 to accomplish this ? I’ve read the FINGER and POP3 RFC’s and haven’t found any answer. I do know that the POP3 server “notify” option must be enabled for this to work.

Answer:
In a program that I have that actually responds to Q&A mail, I am using ahigh-level control. However, the STAT command returns the number of e-mailmessages pending, so it would stand to reason that if that number is biggerthan zero, you have mail. STAT is one of the standard commands in the POP3protocol so you should be able to shoot that down a socket.

See also  Why ChatGPT Is So Important Today
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist