Page 1 of 1

search command line tool to access remote POP3S mailbox

Posted: 24 Jan 2018 08:57
by pstein
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

Re: search command line tool to access remote POP3S mailbox

Posted: 25 Jan 2018 03:29
by penpen
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