loading
4 Comments

Tell us about yourself!

Complete Your Profile
  • syokujinau commented on Borya's instructable ESP8266 GMail sender1 month ago
    ESP8266 GMail sender

    ok,i got it.Thank you! :)

    View Instructable »
  • syokujinau commented on Borya's instructable ESP8266 GMail sender1 month ago
    ESP8266 GMail sender

    Thank you for sharing!but I have a questionwhy I cannot write a function to sent different content and different receive account.If I call it twice, the second one will fail. void sending(String subject,String receive_email,String content){ connection_state = WiFiConnect(); if(!connection_state) // if not connected to WIFI Awaits(); // constantly trying to connect Gsender *gsender = Gsender::Instance(); // Getting pointer to class instance// String subject = "XXXXXx";// String receive_email = "XXXXX@gmail.com";// String content = "";// content += "123";// content += "test ";// content += String(millis(), DEC); if(gsender->Subject(subject)->Send(receive_email, content)) { Seri...see more »Thank you for sharing!but I have a questionwhy I cannot write a function to sent different content and different receive account.If I call it twice, the second one will fail. void sending(String subject,String receive_email,String content){ connection_state = WiFiConnect(); if(!connection_state) // if not connected to WIFI Awaits(); // constantly trying to connect Gsender *gsender = Gsender::Instance(); // Getting pointer to class instance// String subject = "XXXXXx";// String receive_email = "XXXXX@gmail.com";// String content = "";// content += "123";// content += "test ";// content += String(millis(), DEC); if(gsender->Subject(subject)->Send(receive_email, content)) { Serial.println("Message send."); } else { Serial.print("Error sending message: "); Serial.println(gsender->getError()); } }

    Ok it work!Thank you very much!

    View Instructable »