<<< Date Index >>>     <<< Thread Index >>>

Re: Reading mail from CLI with Mutt



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday, August 10 at 03:42 PM, quoth Michelle Konzack:
>Hello Carl,
>
>If you have a good understanding of the IMAP protocol then you
>can use any (ssl)Telnet clients which support batchmode.
>
>Which mean, you can pipe comands (LIST, GET, ...) from your
>shell script into telnet and the it returns what you want.

Well, heck, if you're going to recommend doing it that way (i.e. a 
method that requires intimate knowledge of IMAP), tell him to use a 
good shell (e.g. bash) that can let him do the TCP connections 
directly:

    echo '? LIST "" "*"' > /dev/tcp/host/port

~Kyle
- -- 
Never worry about theory as long as the machinery does what it's 
supposed to do.
                                                 -- Robert A. Heinlein
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iD8DBQFE3MDMBkIOoMqOI14RAv+EAKCujBeuY/YFZZwtbbqSYeubaxd9/QCdHPej
W4dGXhS2TmYNDm9AMPak/rE=
=korM
-----END PGP SIGNATURE-----