Send an email with teensy 3.2 through ESP8266

Hi,
I am using teensy 3.2, I want to send an email through ESP8266.
I have access to the web (I had succeed to send a message to "ThinkSpeak).
I tried this Arduino code to send the email:

setup:

String emailStr = “SMTP.setEmail(”@gmail.com")";
emailStr += “.setPassword(”")";
emailStr += “.Subject(“ESP8266SMTP Gmail test”)”;
emailStr += “.setFrom(“ESP8266SMTP”)”;
emailStr += “.setForGmail()”; // simply sets port to 465 and setServer(“smtp.gmail.com”);
emailStr += “\r\n\r\n”;
Serial1.println(emailStr);

loop:

String emailStr2 = “if(SMTP.Send (“Massage 1”, “Massage 2”))”;
Serial1.print (emailStr2);

I took the code from here: ESP8266SMTP/ESP8266SMTP_Gmail.ino at master · CosmicBoris/ESP8266SMTP · GitHub

Thanks

I took the code from here

And what? CosmicBoris wants it back?
What is the problem?

Issues with the teensy boards are best handled by https://forum.pjrc.com/
PJRC is the teensy developer.

DBMcDonald:
Issues with the teensy boards are best handled by https://forum.pjrc.com/
PJRC is the teensy developer.

That is true if the issue is specific to the Teensy. I suspect that this issue is specific to the OP.