How to set IMAP ID (RFC2971) #242
dingxiao88
started this conversation in
General
Replies: 2 comments 2 replies
-
Ok I will add support this in the next update. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Now the library updated to v3.1.0. The IMAP ID is now supported by default. ESP-Mail-Client/examples/IMAP/Read_Single_Email/Read_Single_Email.ino Lines 246 to 255 in 51c1070 If sever support ID and no |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Build tool used:
Platformio (Visual Studio Code plugin)
Platformio CLI
Other
Board used (ESP32/ESP8266/Arudino):
ESP8266-based
Other Libraries That are used:
Description of problem:
Hello, I am using your library on ESP32 to receive emails via the IMAP service. When selecting the email directory, the email service provider prompts me with an "EXAMINE Unsafe Login" error. After consulting with them, they informed me that "the third-party client was judged as an unsafe login because it did not carry the IMAP ID", which is an extended IMAP command defined in RFC2971.
RFC2971_
something like this:
python code:
Now I do not know how to add it to my application. I hope you can help me with this. Thank you very much.
Share code snippet to reproduce the issue:
21:00:24.107 -> ets Jun 8 2016 00:22:57
21:00:24.107 ->
21:00:24.107 -> rst:0x1 (POWERON_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
21:00:24.107 -> configsip: 0, SPIWP:0xee
21:00:24.107 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
21:00:24.160 -> mode:DIO, clock div:1
21:00:24.160 -> load:0x3fff0018,len:4
21:00:24.160 -> load:0x3fff001c,len:1216
21:00:24.160 -> ho 0 tail 12 room 4
21:00:24.160 -> load:0x40078000,len:10944
21:00:24.160 -> load:0x40080400,len:6388
21:00:24.160 -> entry 0x400806b4
21:00:24.460 ->
21:00:24.607 -> Connecting to Wi-Fi........
21:00:26.971 -> Connected with IP: 192.168.43.66
21:00:26.971 ->
21:00:26.971 ->
21:00:26.971 -> Mounting SD Card... failed
21:00:27.372 ->
21:00:27.372 -> Connecting to IMAP server...
21:00:27.372 -> > C: ESP Mail Client v3.0.3
21:00:27.372 -> > C: Connect to IMAP server
21:00:27.372 -> > C: Host > imap.163.com
21:00:27.372 -> > C: Port > 143
21:00:27.773 -> IMAP server connected
21:00:27.773 -> > C: Server connected
21:00:27.773 ->
21:00:27.773 -> Check the capability...
21:00:27.826 -> > C: Check the capability
21:00:27.926 ->
21:00:27.926 -> Send command, STARTTLS
21:00:27.926 -> > C: Send STARTTLS command
21:00:27.973 -> > C: Perform the SSL/TLS handshake
21:00:27.973 -> > C: seeding the random number generator
21:00:27.973 -> > C: setting up the SSL/TLS structure
21:00:27.973 -> ! W: Skipping SSL Verification. INSECURE!
21:00:27.973 -> > C: setting hostname for TLS session
21:00:27.973 -> > C: perform the SSL/TLS handshake
21:00:29.929 -> > C: verifying peer X.509 certificate
21:00:29.929 ->
21:00:29.929 -> Check the capability...
21:00:29.929 -> > C: Check the capability
21:00:30.377 ->
21:00:30.377 -> Logging in...
21:00:30.377 -> > C: Send IMAP command, LOGIN
21:00:30.878 ->
21:00:30.878 -> Check the capability...
21:00:30.878 -> > C: Check the capability
21:00:30.931 -> Successfully logged in.
21:00:30.931 ->
21:00:30.931 -> Reading the list of mailboxes...
21:00:30.931 -> > C: Send IMAP command, LIST
21:00:31.231 ->
21:00:31.231 -> Available folders: INBOX, &g0l6P3ux-, &XfJT0ZAB-, &XfJSIJZk-, &V4NXPpCuTvY-, &Xn9USpCuTvY-, &i6KWBZCuTvY-, Notes, Archive, &j4Nl6XaEkK5O9lkHTv0-
21:00:31.278 ->
21:00:31.278 -> Selecting the INBOX folder...
21:00:31.278 -> > C: Open the mailbox folder
21:00:31.426 -> Error, EXAMINE Unsafe Login. Please contact [email protected] for help
21:00:31.426 -> > E: EXAMINE Unsafe Login. Please contact [email protected] for help
Beta Was this translation helpful? Give feedback.
All reactions