Fixed ESP32 SendMail not working over ethernet

Fixed ESP32 SendMail not working over ethernet (#15794)
This commit is contained in:
Theo Arends 2022-06-20 17:44:11 +02:00
parent a1dedf0d26
commit 1747348558
3 changed files with 4 additions and 3 deletions

View File

@ -9,6 +9,7 @@ All notable changes to this project will be documented in this file.
### Changed
### Fixed
- ESP32 SendMail not working over ethernet (#15794)
### Removed
@ -24,8 +25,6 @@ All notable changes to this project will be documented in this file.
### Fixed
- MQTT rc -4 on connections regression from v12.0.0 (#15809)
## [Released]
## [12.0.1] 20220617
- Release Paul

View File

@ -115,5 +115,6 @@ The latter links can be used for OTA upgrades too like ``OtaUrl http://ota.tasmo
### Changed
### Fixed
- ESP32 SendMail not working over ethernet [#15794](https://github.com/arendst/Tasmota/issues/15794)
### Removed

View File

@ -5417,7 +5417,8 @@ bool ESP_Mail_Client::ethLinkUp()
#if defined(ESP32)
char *ip = strP(esp_mail_str_328);
if (strcmp(ETH.localIP().toString().c_str(), ip) != 0)
ret = ETH.linkUp();
// ret = ETH.linkUp();
ret = true;
delS(ip);
#endif
return ret;