28.04.2015 Views

AT Commands Set

AT Commands Set

AT Commands Set

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SIM5215_SIM5216 <strong>AT</strong> Command Manual<br />

OK<br />

<strong>AT</strong>+SMTPBODY<br />

>> This is a test mail.<br />

OK<br />

<strong>AT</strong>+SMTPBODY?<br />

+SMTPBODY: “”<br />

OK<br />

20.1.7 <strong>AT</strong>+SMTPFILE Select attachment<br />

Description<br />

The synchronous command is used to select file as e-mail attachment. If the process of sending an<br />

e-mail is ongoing, the command will return “ERROR” directly.<br />

Read command returns current all selected attachments with full path.<br />

Execute command will clear all attachments.<br />

NOTE After an e-mail is sent successfully, attachment will be cleared, if unsuccessfully, it won’t<br />

be cleared. The same file can’t be selected twice.<br />

SIM PIN References<br />

YES Vendor<br />

Syntax<br />

Test Command<br />

<strong>AT</strong>+SMTPFILE=?<br />

Read Command<br />

<strong>AT</strong>+SMTPFILE?<br />

Write Command<br />

<strong>AT</strong>+SMTPFILE=<br />

[, ]<br />

Execution Command<br />

<strong>AT</strong>+SMTPFILE<br />

Responses<br />

+SMTPFILE: (list of supported s)<br />

OK<br />

Responses<br />

[+SMTPFILE: , , <br />

[…]]<br />

OK<br />

Responses<br />

OK<br />

[+SMTP: OVERSIZE]<br />

ERROR<br />

Responses<br />

OK<br />

Defined values<br />

<br />

Index for attachments, from 1 to 10. According to the sequence of , SMTP client will<br />

encode and send all attachments.<br />

<br />

String type with double quotes, the name of a file which is under current directory (refer to file<br />

SIM5215_SIM5216_<strong>AT</strong> Command Manual_V1.13 328<br />

1/13/2011

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!