Send E-Mail Through ESP8266 with SDK version - ESP8266 NONOS SDK V2.2.0

zafarpatel7
Posts: 2
Joined: Mon Feb 26, 2018 8:48 pm

Send E-Mail Through ESP8266 with SDK version - ESP8266 NONOS SDK V2.2.0

Postby zafarpatel7 » Sun Mar 11, 2018 8:22 pm

Hello All
i m new in ESP8266

and i want to know send Email from ESP8266, i am try some this in my level is as below, please correct me where i am wrong -

AT+CIPMUX=1
OK

AT+CIPSERVER=1,88
OK

AT+CIPSTART=1,"TCP","smtp.gmail.com",587
1,CONNECT
OK
+IPD,1,54:220 smtp.gmail.com ESMTP w88sm12245849pfa.50 - gsmtp

AT+CIPSEND=1,21
OK
>EHLO 192.168.1.103
Recv 21 bytes
SEND OK
+IPD,1,167:250-smtp.gmail.com at your service, [49.35.39.10]
250-SIZE 35882577
250-8BITMIME
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-CHUNKING
250 SMTPUTF8

AT+CIPSEND=1,10
OK
> STARTTLS
Recv 10 bytes
SEND OK
+IPD,1,61:502 5.5.1 Unrecognized command. w88sm12245849pfa.50 - gsmtp

AT+CIPSEND=1,6
OK
> EHLO
Recv 6 bytes
SEND OK
+IPD,1,149:501-5.5.4 Empty HELO/EHLO argument not allowed, closing connection.
501 5.5.4 https://support.google.com/mail/?p=helo w88sm12245849pfa.50 - gsmtp
1,CLOSED

Her Majesty
Posts: 314
Joined: Mon Oct 27, 2014 11:09 am

Re: Send E-Mail Through ESP8266 with SDK version - ESP8266 NONOS SDK V2.2.0

Postby Her Majesty » Tue Mar 27, 2018 5:28 pm

There is a simple example of sending http packet https://bbs.espressif.com/viewtopic.php?f=61&t=560.
I think that maybe you can send an email by your PC and capture the packets, then try to send the same data you captured through AT commands.

Who is online

Users browsing this forum: No registered users and 12 guests