28.04.2015 Views

AT Commands Set

AT Commands Set

AT Commands Set

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

OK<br />

20.1.5 <strong>AT</strong>+SMTPSUB E-mail subject<br />

Description<br />

The synchronous command is used to set the subject of e-mail, which is used to construct e-mail<br />

header. If the process of sending an e-mail is ongoing, the command will return “ERROR” directly.<br />

Read command returns current e-mail subject.<br />

Execution command will clear the subject.<br />

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

be cleared.<br />

SIM PIN References<br />

YES Vendor<br />

Syntax<br />

Test Command<br />

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

Read Command<br />

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

Write Command<br />

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

Execution Command<br />

<strong>AT</strong>+SMTPSUB<br />

Responses<br />

OK<br />

Responses<br />

+SMTPSUB: <br />

OK<br />

Responses<br />

OK<br />

Responses<br />

OK<br />

Defined values<br />

<br />

E-mail subject, string with double quotes, and ASCII text up to 512 characters. will be<br />

present in the header of the e-mail sent by SMTP client in the field: “Subject: ”.<br />

Examples<br />

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

+SMTPSUB: “”<br />

OK<br />

<strong>AT</strong>+SMTPSUB=”THIS IS A TEST MAIL”<br />

OK<br />

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

+SMTPSUB: “THIS IS A TEST MAIL”<br />

OK<br />

20.1.6 <strong>AT</strong>+SMTPBODY E-mail body<br />

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

1/13/2011

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

Saved successfully!

Ooh no, something went wrong!