Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: WinSock
Expertise: Beginner
Feb 27, 1997

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 a high-level control. However, the STAT command returns the number of e-mail messages pending, so it would stand to reason that if that number is bigger than zero, you have mail. STAT is one of the standard commands in the POP3 protocol so you should be able to shoot that down a socket.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date