mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-12 03:29:01 +08:00
Fix notification email failed
fix email not connecting to server thanks @maciak
This commit is contained in:
parent
9e1f7eca08
commit
664b03f2b5
@ -19,7 +19,7 @@
|
||||
*/
|
||||
|
||||
//version and sources location
|
||||
#define FW_VERSION "2.1.0.b31"
|
||||
#define FW_VERSION "2.1.0.b32"
|
||||
#define REPOSITORY "https://github.com/luc-github/ESP3D"
|
||||
|
||||
//Customize ESP3D ////////////////////////////////////////////////////////////////////////
|
||||
|
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user