if (! (mx->flags & M_IMAP_PORT)) mx->port = IMAP_SSL_PORT; mx->socktype = M_NEW_SSL_SOCKET; mx->flags |= M_IMAP_TYPE;
if (! (account->flags & M_ACCT_PORT)) account->port = IMAP_SSL_PORT; account->flags |= M_ACCT_SSL;
void imap_set_ssl (IMAP_MBOX *mx){  if (! (mx->flags & M_IMAP_PORT))    mx->port = IMAP_SSL_PORT;  mx->socktype = M_NEW_SSL_SOCKET;  mx->flags |= M_IMAP_TYPE;}