DESCRIPTION | AT COMMAND |
Configure Parameters of a TCP/IP ContextAT+QICSGP=<contextID>,<context_type>,<APN>,<username>,<password>, <authentication> |
AT+QICSGP=1,1,”yoodo”,””,””,0 OK |
Activate a PDP ContextAT+QIACT=<contextID> |
AT+QIACT=1 OK AT+QIACT? +QIACT: 1,1,1,”10.32.47.42″ OK |
Configure SSL Type//Set the SSL type for SMTP. AT+QSMTPCFG=”ssltype”,<ssltype> |
WITHOUT SSL
AT+QSMTPCFG=”ssltype”,0
WITH SSL AT+QSMTPCFG=”ssltype”,1 AT+QSMTPCFG=”sslctxid”,1 AT+QSSLCFG=”ciphersuite”,1,0xffff AT+QSSLCFG=”seclevel”,1,0 AT+QSSLCFG=”sslversion”,1,1 |
Configure Parameters for SMTP Server//Set the PDP context ID. AT+QSMTPCFG=”contextid”,<contextID> //Set the IP address or domain name and port of SMTP server. AT+QSMTPCFG=”smtpserver”,<srvaddr>,<srvport> //Set username and password. AT+QSMTPCFG=”account”,<username>,<password> //Set sender name and sender address. AT+QSMTPCFG=”sender”,<sender_name>,<sender_email> |
AT+QSMTPCFG=”contextid”,1 OK AT+QSMTPCFG=”smtpserver”,”smtp.example.com”,587 OK AT+QSMTPCFG=”account”,”*username*”,”$password$” OK AT+QSMTPCFG=”sender”,”MOBITEK”,”add-new-post@feed.mobitek.my” OK |
Add or Delete RecipientsAT+QSMTPDST=<mode>,<type>,<emailaddr> Parameter:
|
AT+QSMTPDST=1,1,”sales@abc.my” OK AT+QSMTPDST=1,2,”marketing-director@abc.com” OK AT+QSMTPDST? +QSMTPDST: 1,”sales@abc.my” +QSMTPDST: 2,”marketing-director@abc.com” OK |
Edit the Subject of an EmailAT+QSMTPSUB=<charset>,<subject> Parameter:
|
AT+QSMTPSUB=0,”TEST SMTP USING Q25″ OK AT+QSMTPSUB? +QSMTPSUB: 0,”TEST SMTP USING Q25″ OK |
Edit the Body of an EmailAT+QSMTPBODY=<charset>,<body_length>,<input_time> Parameter:
|
AT+QSMTPBODY=0,50,60 CONNECT +QSMTPBODY: 37 OK |
Send an EmailAT+QSMTPPUT=<timeout> Parameter:
|
AT+QSMTPPUT=300 OK +QSMTPPUT: 0,0 |
Clear the Content of an EmailAT+QSMTPCLR |
AT+QSMTPCLR OK |
Deactivate a PDP ContextAT+QIACT=<contextID> |
AT+QIDEACT=1 OK |