karastojko / mailio

mailio is a cross platform C++ library for MIME format and SMTP, POP3, IMAP protocols. It is based on the standard C++ 17 and Boost library.
Other
382 stars 102 forks source link

[PRIVACYREQUIRED] Plaintext authentication disallowed on non-secure (SSL/TLS) connections. #98

Closed MrBruz closed 2 years ago

MrBruz commented 2 years ago
try:
    M = imap4(domain, timeout=5)
    M.login(email, password)
except (imap4.error, socket_error) as e:
    print(
        f"Error: {e}"
    )

I have found the code above to return "[PRIVACYREQUIRED] Plaintext authentication disallowed on non-secure (SSL/TLS) connections." for an unknown reason and I was wondering how I could correct this error?

MrBruz commented 2 years ago

Whoops sorry, wrong library.