Hi; does anyone know a way to get a count of New Email messages:
1) Without downloading all the messages
2) Count of messages in Inbox Sub-Folders
RetrievePOP3 works but the files need to be downloaded and no subfolders messages can be retrieved.
Thanks in advance
Getting New Email Message counts
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Use the Telnet commands. POP3 is just telnet. Telnet to port 110 and issue the LIST command to get the number of messages waiting.
http://jameser.blogspot.com/2006/06/tip ... elnet.html
http://jameser.blogspot.com/2006/06/tip ... elnet.html
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Easier is to use the STAT command. I have blogged a solution here:
http://www.mjtnet.com/blog/2008/12/18/t ... age-count/
http://www.mjtnet.com/blog/2008/12/18/t ... age-count/
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
Thank you for this blogged example... very helpful (3.5 years after posting).
I want to make one point to save the next person a little time.
Do the command prompt telnet session sample from the blog first. Your telnet session might not provide the same response as Marcus' telnet session. The TelnetWaitFor> function is waiting for specific text. If your telnet session displays different text, your logon attempt will fail.
I want to make one point to save the next person a little time.
Do the command prompt telnet session sample from the blog first. Your telnet session might not provide the same response as Marcus' telnet session. The TelnetWaitFor> function is waiting for specific text. If your telnet session displays different text, your logon attempt will fail.