-->
Page 1 of 2

Problems 3.0 esp8266 version on black esp8266-01 module

PostPosted: Mon Aug 29, 2016 2:40 am
by mfalzon
Hi,
I've uploaded the latest 3.0 version of ESP8266basic onto the -01 module and tried to run the email
program listed below. I flashed using the 1Mb option. This program had worked well with the version 2.0


body = "my first email from esp8266"
server = "mail.smtp2go.com"
port = 2525
user = "*******"
password = "*******"
sendto = "*******@*****.***"
sendfrom = "*******@smtp2go.com"
mess = "Email test"

setupemail server port user password
button "Send Email" [SendEmail]
button "Exit " [getout]
wait
[SendEmail]
email sendto sendfrom mess body
wait
[getout]
end

now I'm getting these error reports

Error at line 10: Failed to reach end of input expression, likely malformed input
Error at line 11: The arguments must be 2!
Error at line 11: Halted

Can you help me please?

Maurice

Re: Problems 3.0 esp8266 version on black esp8266-01 module

PostPosted: Thu Sep 08, 2016 8:50 pm
by Mmiscool
Look at the 3.0 docs.
The commands now need commas between the parameters.

Re: Problems 3.0 esp8266 version on black esp8266-01 module

PostPosted: Wed Sep 21, 2016 11:12 pm
by ztoti
Hi,
I use NODEM;CU with Basic3.0 Alpha49, I've made account on smtp2go but I can't send the email with the sample code:

body = "my first email from esp8266"
server = "mail.smtp2go.com"
port = 2525
user = " ******@gmail.com"
password = " ******** "
sendto = " ******@gmail.com"
sendfrom = " ******** "
mess = "just sample"
setupemail server , port , user , password
button "Send Email",[SendEmail]
button "Exit ",[getout]
wait
[SendEmail]
email sendto , sendfrom , mess , body
wait
[getout]
end - See more at: viewtopic.php?f=40&t=8599#sthash.VUEk5ssn.dpuf.

Here is terminal message:


220 mail.smtp2go.com ESMTP Exim 4.87 Thu, 22 Sep 2016 03:57:42 +0000
250-mail.smtp2go.com Hello 1.2.3.4 [24.76.64.244]
250-SIZE 52428800
250-8BITMIME
250-DSN
250-PIPELINING
250-AUTH CRAM-MD5 PLAIN LOGIN
250-STARTTLS
250-PRDR
250 HELP
334 VXNlcm5hbWU6
334 UGFzc3dvcmQ6
535 Incorrect authentication data
221 mail.smtp2go.com closing connection
disconnecte

Any idea?
Thank you.

Re: Problems 3.0 esp8266 version on black esp8266-01 module

PostPosted: Fri Sep 01, 2017 3:28 pm
by vinicius.valenca
mfalzon wrote:Hi,
I've uploaded the latest 3.0 version of ESP8266basic onto the -01 module and tried to run the email
program listed below. I flashed using the 1Mb option. This program had worked well with the version 2.0


body = "my first email from esp8266"
server = "mail.smtp2go.com"
port = 2525
user = "*******"
password = "*******"
sendto = "*******@*****.***"
sendfrom = "*******@smtp2go.com"
mess = "Email test"

setupemail server port user password
button "Send Email" [SendEmail]
button "Exit " [getout]
wait
[SendEmail]
email sendto sendfrom mess body
wait
[getout]
end

now I'm getting these error reports

Error at line 10: Failed to reach end of input expression, likely malformed input
Error at line 11: The arguments must be 2!
Error at line 11: Halted

Can you help me please?

Maurice

How didi you flashed your ESP8266-01 ?? cant get it work here