How do I use telnet to log into imap?

jxmot

Member
Sep 24, 2014
22
1
53
cPanel Access Level
Website Owner
Hello,

I apologize if this is not the correct place for this post....

I'm trying to use telnet to log into IMAP. I am doing this in an attempt to read all of the message bodies for a single account. And I want to concatenate all of them, they contain log output from a router.

I have tried the windows 10 telnet client but when I connect I only get a blank screen and nothing is echoed back to me. I've also tried putty and it disconnects immediately.

My email client has no issue with IMAP and is working as expected.

I'm open to solutions other than using telnet. Even if I've got to write some code in PHP.

Thank you!
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
4,938
608
273
cPanel Access Level
Root Administrator
Hey there! While not related to the cPanel tools on the system, I've have good results with this guide in the past:


The second half of that guide shows how to log in to a mail client, but you could replace port 110 with the IMAP port on your machine, which will most likely be 143.

Can you try that and let me know if that doesn't work how you expect?