jaromail

a commandline tool to easily and privately handle your e-mail
git clone git://parazyd.org/jaromail.git
Log | Files | Refs | Submodules | README

commit a9642240814329cafcb964ca975f5146149594a9
parent 2553652001f0ac152abc38bc1795fa25a94a158f
Author: Jaromil <jaromil@dyne.org>
Date:   Wed, 11 Dec 2013 10:54:42 +0100

better handling of incorrect password when fetching

Diffstat:
Msrc/zlibs/email | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/zlibs/email b/src/zlibs/email @@ -106,12 +106,13 @@ fetch() { { test $DRYRUN != 1 } && { update } fi - notice "Examining mailbox for $name <$email> on $host" + notice "Connecting account ${account} via ${account_type}" is_online ${host} ${port} { test $? = 0 } || { return 1 } ask_password $login $host + { test $? = 0 } || { error "Impossible to fetch ${account_type} account ${account}"; return 1 } # this puts total size in $imap_info # experimental only, commented out for now