xreef / EMailSender

Arduino, esp32, Esp8266 EMailSender with Arduino IDE, simple library to send email via smtp with attachments.
https://www.mischianti.org/category/my-libraries/emailsender-send-email-with-attachments/
MIT License
74 stars 26 forks source link

Warnings #19

Closed DerDoubleD closed 3 years ago

DerDoubleD commented 3 years ago

Thanks for great work I get warnings. See below...

In file included from src/test.cpp:275:0: .pio/libdeps/az-delivery-devkit-v4/EMailSender/EMailSender.h:222:0: warning: "EMAIL_NETWORK_CLASS" redefined

define EMAIL_NETWORK_CLASS EMAIL_NETWORK_SSL_CLASS

^ In file included from src/test.cpp:275:0: .pio/libdeps/az-delivery-devkit-v4/EMailSender/EMailSender.h:165:0: note: this is the location of the previous definition

define EMAIL_NETWORK_CLASS WiFiClient

^

best regards

xreef commented 3 years ago

Hi, Yes it's true. I redefine the define to simplify configuration. Thanks Renzo