|
@@ -234,7 +234,7 @@ Junk |
|
|
Trash |
|
|
Trash |
|
|
Sent |
|
|
Sent |
|
|
Archive" && return 0 |
|
|
Archive" && return 0 |
|
|
info="$(curl -s --user "$login:$(pass $pass_prefix$fulladdr)" --url "${protocol:-imaps}://$imap")" |
|
|
|
|
|
|
|
|
info="$(curl --location-trusted -s -m 5 --user "$login:$(pass $pass_prefix$fulladdr)" --url "${protocol:-imaps}://$imap")" |
|
|
[ -z "$info" ] && echo "Log-on not successful." && return 1 |
|
|
[ -z "$info" ] && echo "Log-on not successful." && return 1 |
|
|
mailboxes="$(echo "$info" | sed "s/.*\" //" | tr -d '
')" |
|
|
mailboxes="$(echo "$info" | sed "s/.*\" //" | tr -d '
')" |
|
|
} |
|
|
} |
|
|