mirror of
https://github.com/luc-github/ESP3D.git
synced 2025-10-31 11:56:48 -07:00
Fix notification email failed
fix email not connecting to server thanks @maciak
This commit is contained in:
@@ -396,10 +396,10 @@ bool NotificationsService::begin()
|
||||
break;
|
||||
case ESP_EMAIL_NOTIFICATION:
|
||||
if (CONFIG::read_string (ESP_NOTIFICATION_TOKEN1, sbuf, MAX_NOTIFICATION_TOKEN_LENGTH) ) {
|
||||
_token1 = sbuf;
|
||||
_token1 = base64::encode(sbuf);
|
||||
}
|
||||
if (CONFIG::read_string (ESP_NOTIFICATION_TOKEN2, sbuf, MAX_NOTIFICATION_TOKEN_LENGTH) ) {
|
||||
_token2 = sbuf;
|
||||
_token2 = base64::encode(sbuf);
|
||||
}
|
||||
//log_esp3d("%s",Settings_ESP3D::read_string(ESP_NOTIFICATION_TOKEN1));
|
||||
//log_esp3d("%s",Settings_ESP3D::read_string(ESP_NOTIFICATION_TOKEN2));
|
||||
|
||||
Reference in New Issue
Block a user