Sending email from Sim868e

Status
Not open for further replies.

abusaeedmirza

Newbie
Joined
Oct 9, 2020
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
30
Hi all,
i am using sim868e module and i am trying to send an email using AT commands but it some how i am getting an error: 67 after AT+SMTPSEND
Here are the commands:
Code:
AT+SAPBR=3,1,"Contype","GPRS"
OK
AT+SAPBR=3,1,APN,"internet"
OK
AT+SAPBR=1,1
OK
AT+SAPBR=2,1

+SAPBR: 1,1,"100.124.78.214"

OK

AT+EMAILSSL=1
OK
AT+EMAILCID=1

OK

AT+EMAILTO=120

OK

AT+SMTPSRV="smtp.gmail.com", 465

OK

AT+SMTPAUTH=1,”winewine@gmail.com”,”xxxxxxxxx”
OK
AT+SMTPFROM="winewine@GMAIL.COM","winewine"
OK
AT+SMTPRCPT=0,0,"whiskywhisky@gmail.com","whiskywhisky"
OK
AT+SMTPSUB="TESTSIM868"

OK
AT+SMTPBODY=30

DOWNLOAD


OK

AT+SMTPSEND
OK
+SMTPSEND: 67
 

Explanation in AT command manual seems self-explanatory:
"67 - Authentification failed. SMTP user name or password may not be right."
 

Explanation in AT command manual seems self-explanatory:
"67 - Authentification failed. SMTP user name or password may not be right."
Hi , thank you so much for your response. I have checked everything with the credentials and they are correct. One thing i would mention, the receiving email has 2 factor authentication. Can this cause problem?
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…