Send emails with attachments (v2.x library): Arduino Ethernet – 1

Today for Arduino ethernet.
Here I’d like to explain the version 2 of the EMailSender library, a big evolution respect to version 1, with support for Arduino with w5100, w5200 and w5500 ethernet shield and enc28J60 clone devices, and support for esp32 and esp8266.
Now you can add attachments also, loaded from storage device like SD or SPIFFS.