Mohamed Slama
Member level 4
- Joined
- Nov 8, 2013
- Messages
- 72
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 6
- Activity points
- 443
SA
i can send email from sim900, but i can't send attached mail because i dont know how the path of the file is placed into the instruction "AT+SMTPFILE=1,"test.txt",0"
So, where the AT command gets the path or text file ??
the instructions that i used are
AT+SAPBR=4,1
AT+SAPBR=3,1,"CONTYPE","GPRS"
AT+SAPBR=3,1,"APN","PHONEUM"
AT+SAPBR=3,1,"USER",""
AT+SAPBR=3,1,"PWD",""
AT+SAPBR=1,1
AT+SAPBR=2,1
AT+EMAILCID=1
AT+EMAILTO=30
AT+SMTPSRV="mail.unitedgroupco.com",26
AT+SMTPAUTH=1,"xx@xxxxxxx.com","12345"
AT+SMTPFROM="x@xxxxxx.com","m"
AT+SMTPRCPT=0,0,"xxxxl@xxxxx.com","Dr.Ahmed"
AT+SMTPSUB="TEST"
AT+SMTPBODY
This is test attached mail
AT+SMTPFILE=1,"test.txt",0 ===========> this is my problem from where can i get this file
AT+SMTPSEND
i can send email from sim900, but i can't send attached mail because i dont know how the path of the file is placed into the instruction "AT+SMTPFILE=1,"test.txt",0"
So, where the AT command gets the path or text file ??
the instructions that i used are
AT+SAPBR=4,1
AT+SAPBR=3,1,"CONTYPE","GPRS"
AT+SAPBR=3,1,"APN","PHONEUM"
AT+SAPBR=3,1,"USER",""
AT+SAPBR=3,1,"PWD",""
AT+SAPBR=1,1
AT+SAPBR=2,1
AT+EMAILCID=1
AT+EMAILTO=30
AT+SMTPSRV="mail.unitedgroupco.com",26
AT+SMTPAUTH=1,"xx@xxxxxxx.com","12345"
AT+SMTPFROM="x@xxxxxx.com","m"
AT+SMTPRCPT=0,0,"xxxxl@xxxxx.com","Dr.Ahmed"
AT+SMTPSUB="TEST"
AT+SMTPBODY
This is test attached mail
AT+SMTPFILE=1,"test.txt",0 ===========> this is my problem from where can i get this file
AT+SMTPSEND