Tell me what you want, What you really, really want.

Moderator: Mmiscool

User avatar
By forlotto
#34255 Hrmmm this is interesting really think about the other applications ...

Getting an email if a motion sensor is tripped in your home or something similar to that nature.


Hrmmm great addition thanks!
User avatar
By fsae99
#34341 I took a basic class about 30 years ago in high school and never did anything with it. You are making this so even I can do it, this is the most useful command I have ever seen.

Thanks,
Jim
User avatar
By Mmiscool
#34342 If you look at the documentation page it has a suggestion for a SMTP provider and how to send text msgs to your cell phone via email using an sms gateway.

http://www.esp8266basic.com/smtp-email-commands.html
User avatar
By heckler
#35169 I have just been trying to generate an email with this code...
Code: Select allcls
setupemail mail.smtp2go.com 2525 ???@yahoo.com password
button "Send Email" [SendEmail]
button "Exit " [TestExit]
wait
[SendEmail]
email ???@gmail.com ???@yahoo.com testSubject testBody
wait
[TestExit]
end


and here is what I get on the serial port as it is trying
connected
220 mail.smtp2go.com ESMTP Exim 4.86 Sat, 28 Nov 2015 04:37:41 +0000
Sending hello
250-mail.smtp2go.com Hello 1.2.3.4 [67.213.248.3]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH CRAM-MD5 PLAIN LOGIN
250-STARTTLS
250-PRDR
250 HELP
Sending auth login
334 VXNlm5hbWU6
Sending User
334 UGFc3dvcmQ6
Sending Password
235 Authentication succeeded
Sending From
250 OK
Sending To
250 Accepted <????@gmail.com>
Sending DATA
354 Enter message, ending with "." on a line by itself
Sending email
250 OK id=1a2GY-kaUDFj-BB
Sending QUIT
221 mail.smtp2go.com closing connection
disconnected


when I go to the smtp2go website it shows the email failed
It is failing because the from sender does not actually match the mail.smtp2go.com domain.

Has anyone been successful in generating an email from an ESP module?

I also tried several using my own local email provider that I have been able to generate from earlier using the LUA code in the first post. I will contact them on Monday to get some support.

If anyone has had success please share your thoughts.

thanks
dwight