Compile Error on Example Sketch 'send email-message' - ESP32 Dev Board #351
Replies: 7 comments 1 reply
-
Thanks for any help in prepare ! :) |
Beta Was this translation helpful? Give feedback.
-
Your ESP32 Arduino Core SDK v3.0.4 installation is not complete. You should remove and reinstall it. If you still get the error, you should delete Arduino related folders and files in Arduino IDE under AppData folder and reinstall Arduino IDE. I recommend Arduino IDE v2.x instead. |
Beta Was this translation helpful? Give feedback.
-
Great. Thx for the fast response ! So let me check again (i installed latest 3.0.4 yesterday, but i can remove and try again), i will follow up. Fyi: The reason i use 1.8.19 is because this is the last supported version on Win7 (which can't be changed on moment). Let me first remove you older ESP32 2.1.6 mail folder (C:\Users..\Documents\Arduino\libraries\ESP32_Mail_Client), maybe that's the root cause. (I just want to avoid to remove all esp packages in \Appdata.. as there are too many dependencies to other important projects which work well (using latest 3.0.4 core .. it is just the Mail client failed) .. Thank you, i will follo up :) |
Beta Was this translation helpful? Give feedback.
-
sure i read exactly ;) .. i know which sub folders you meant, no worries, sorry been unclear before, Thanks again. |
Beta Was this translation helpful? Give feedback.
-
Strange, i just found this example sketch (in Arduino > Example > ESP Mail Client > ... Send Text ino): Maybe something missed in your readme 'minimal' example (https://github.com/mobizt/ESP-Mail-Client/tree/master#send-email-message), or any compiler error because 'attached image' or SD card etc. Anyhow .. as i do not need any attachments, sending pure plain text for now (utf-8) i am happy to start with your 'Send_Text.ino' as a starter template for my code now. Cool :) Thank you again for your great library! |
Beta Was this translation helpful? Give feedback.
-
There is nothing missed in the code in the documentation, and it does not require the filesystems (SD, SD_MMC, SPIFFS and LittleFS). The documentation code is for sending email with memory (BLOB) attachment. You should know how to debug the information from the compiler log/stack traces. The error is your system error. |
Beta Was this translation helpful? Give feedback.
-
Hi @mobizt, first of all .. a huge THANK YOU for all your libraries, love it :) !
I used your depreciated library 'ESP32_Mail-Client (2.1.6) in past .. as it is no longer supported i just wanted to migrate to your current 'ESP Mail Client 3.4.2. Just compiled your demo sketch first (before i migrate my older code) https://github.com/mobizt/ESP-Mail-Client/tree/master#send-email-message , i used the original sketch (no changes from my side) but i get some compile error, no idea what i did wrong. Please apologize in case it is a Newbie question, but any help appreciated !
System: I am using Arduino IDE 1.8.19 with latest ESP-Arduino library 3.0.4
Screenshot below, let me copy&paste the red marked text also here:
just a thought, do i have to remove the older ESP32 Mail client maybe (either via Library manager or removing folder 'ESP32_Mail_Client' manually in ..\libraries .. is this maybe the reason why the compile fails ? (then i can remove, but would prefer to keep until the new library works for me)
below a screenshot:
Beta Was this translation helpful? Give feedback.
All reactions