Simple ESP32 emailer - basic

Hi I have tried up to 10 different examples from across the web for a sketch that will email "hello world" when the microcontroller starts.

I'm getting back to basics here and just need a working sketch that will email once for an alarm project. Everything I've tried comes up with "Error compiling for NodeMCU 1.0 (ESP-12E Module)".

I have also tried for a generic ESP32 & a Wemos and get the same error.
I am not a programmer and just want something that will compile for any of these boards with only needing to add my wifi credentials & the send/receive email addresses. Please can anyone assist & also provide the sketch and correct versions I need to make it work.

I have these current versions installed but will update anything as required:
Arduino 1.8.19
ESP_Mail_Client-3.4.19
WiFi-1.2.7 (wifi.h)
esp8266 v3.1.2(board man)
EMailSender-3.0.14

I was able to get the Esp8266GMailTest example from the EMailSender library to compile just fine on a NodeMCU 1.0.

Standard procedure is to post the error code.
Leo..

Thankyou so much ! This worked just great for me on my NodeMCU.
How can I adapt it so it will send out the same email every 3 minutes ?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.