22.01.2015 Views

this SIM5218 AT command manual - Cooking Hacks

this SIM5218 AT command manual - Cooking Hacks

this SIM5218 AT command manual - Cooking Hacks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

<strong>SIM5218</strong> Serial <strong>AT</strong> Command Set<br />

<br />

SMTP server address, non empty string with double quotes, mandatory and ASCII text string up to<br />

128 characters.<br />

<br />

Port number of SMTP server in decimal format, from 1 to 65535, and default port is 25 for SMTP.<br />

Examples<br />

<strong>AT</strong>+SMTPSRV="smtp.server.com",25<br />

OK<br />

<strong>AT</strong>+SMTPSRV<br />

+SMTPSRV: "smtp.server.com", 25<br />

OK<br />

<strong>AT</strong>+SMTPSRV<br />

OK<br />

<strong>AT</strong>+SMTPSRV<br />

+SMTPSRV: "", 25<br />

OK<br />

21.1.2 <strong>AT</strong>+SMTPAUTH SMTP server authentication<br />

Description<br />

The synchronous <strong>command</strong> is used to control SMTP authentication during connection with SMTP<br />

server. If SMTP server requires authentication while logging in the server, TE must set the<br />

authentication control flag and provide user name and password correctly before sending an e-mail.<br />

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

Read <strong>command</strong> returns current SMTP server authentication control flag, if the flag is 0, both <br />

and are empty strings.<br />

Execution Command cancels SMTP server authentication and clear user name and password.<br />

NOTE After an e-mail is sent successfully or unsuccessfully, server authentication won’t be<br />

cleared.<br />

SIM PIN References<br />

YES Vendor<br />

Syntax<br />

Test Command<br />

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

Read Command<br />

<strong>AT</strong>+SMTPAUTH<br />

Responses<br />

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

OK<br />

Responses<br />

+SMTPAUTH: , , <br />

OK<br />

<strong>SIM5218</strong>_Serial _<strong>AT</strong>C_V1.36 405<br />

5/15/2012

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

Saved successfully!

Ooh no, something went wrong!