ESP32 Fail to read IMAP #292
fullmetalbitch
started this conversation in
General
Replies: 1 comment 13 replies
-
The access denied with unrecognized reply. Please set debug level to 4096 and post the result again. |
Beta Was this translation helpful? Give feedback.
13 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello fellow developers,
I've been working on setting up an IMAP email client on my ESP32 using the ESP_Mail_Client.h library. However, I've encountered a specific issue that I'd like to discuss and hopefully get some guidance on.
The Problem: When attempting to connect to the IMAP server, the library encounters a timeout during the authentication process. The error message in the debug output indicates "response read timed out," leading to a connection closure.
Here's a snippet of the debug output:
The code is
Required settings:
Incoming Mail Server (IMAP): imap.ukr.net.
Port: 993.
Connection: SSL encrypted.
Secure Password Authentication (SPA) is disabled.
Comparative Library: Interestingly, I also tried the ESP32_MailClient.h library, which does work. However, it's not without its issues. While it successfully connects, it sometimes causes my ESP32 to restart unexpectedly.
Possible Causes and Solutions: I've considered that this issue might stem from network connectivity, IMAP server configuration, or compatibility with the ESP_Mail_Client.h library. I've ensured my Wi-Fi credentials are correct and verified the IMAP server settings. The decision to skip SSL verification is marked as "INSECURE," which could contribute to the problem. Additionally, library updates could potentially address this issue.
Request for Assistance: Has anyone else encountered a similar timeout issue with the ESP_Mail_Client.h library during authentication? Any insights into what might be causing this and how to resolve it would be greatly appreciated. Furthermore, if you have any suggestions for stabilizing the ESP32_MailClient.h library to prevent restarts, I'd love to hear them.
Thank you in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions