use imap not imap4
This commit is contained in:
parent
d58b36f9d3
commit
4bd43ca9da
@ -431,7 +431,7 @@ imap4dial(Imap *imap)
|
|||||||
if(imap->mustssl)
|
if(imap->mustssl)
|
||||||
port = "imaps";
|
port = "imaps";
|
||||||
else
|
else
|
||||||
port = "imap4";
|
port = "imap";
|
||||||
|
|
||||||
if((imap->fd = dial(netmkaddr(imap->host, "net", port), 0, 0, 0)) < 0)
|
if((imap->fd = dial(netmkaddr(imap->host, "net", port), 0, 0, 0)) < 0)
|
||||||
return geterrstr();
|
return geterrstr();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user