search command line tool to access remote POP3S mailbox

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
pstein
Posts: 125
Joined: 09 Nov 2011 01:42

search command line tool to access remote POP3S mailbox

#1 Post by pstein » 24 Jan 2018 08:57

From within a DOS batch script I want to check whether a certain remote mailbox (e.g. from gmail.com or hotmail.com) contains new messages.

The messages should NOT be downloaded. I need just the information if there are some new message available.

The connection should be established through STARTTLS or pure SSL.

Can someone recommend me a tool which can do this?

Thank you.
Peter

penpen
Expert
Posts: 2009
Joined: 23 Jun 2013 06:15
Location: Germany

Re: search command line tool to access remote POP3S mailbox

#2 Post by penpen » 25 Jan 2018 03:29

I never have done that myself, but i think you could use "telnet.exe" or "putty.exe" (maybe "plink.exe", as a part of putty) to reach your goal.

A short search in google gave me this:
http://itknowledgeexchange.techtarget.c ... nd-prompt/

I'm not familar with telnet, so i don't know if you could specify a command from the cmd.exe, or if you have to type into the telnet shell.
But it is possible to do that using putty:
http://kb.site5.com/shell-access-ssh/pu ... mand-line/

penpen

Post Reply