Part 1 – AT Commands for All Universal IP Devices
#PUTMAIL – Send Mail to Recipient with Interactive Mode
Chapter 2 – SMTP Commands
Definition:
Syntax:
This command allows the attached host to send an email message containing body text passed
to the TCP/IP stack over the serial port. Once an IP link is established, the attached host can
send an email message at any time (except when the TCP/IP stack software is already in a
process using TCP resources).
The header of this email is built using the REC1, CCREC1 and SUBJ1 parameters.
This command is similar to a “send email” operation issued by a standard messaging client on a
PC.
AT#PUTMAIL
IMPORTANT NOTE:
You must issue the <CR><LF> bytes (binary value: 0D 0A) as the first data bytes if a header is
NOT being constructed in order to finish the internal headers correctly. This mechanism is in
place to allow for the addition of custom headers such as MIME data.
Command
AT#PUTMAIL
Note: You have to configure only
receiver address1, copy address1,
and subject1 before or during the
session, but content (body) of the
email is typed when the TCP/IP
session is established. Content is
not echoed.
Possible Responses
OK_Info_WaitingForData
Notes: An SMTP session has been successfully
opened with the remote SMTP server.
Once the TCP/IP stack has displayed this
message, all the data received on the serial
port is sent within the email body.
The (CR)(LF)(.)(CR)(LF) sequence sent by the
attached host indicates the TCP/IP stack the
end of the email body.
<CR><LF>
Note: See Important Note above.
<content>
Note: Content is not written when
typing
<CR><LF> . <CR><LF>
Note: Termination sequence
<CR> = <Enter>, <LF> = <Ctrl
Enter>
AT#PUTMAIL
AT#PUTMAIL
OK
Note: The mail has been successfully sent.
#CME ERROR: 38027
Notes: The address of the SMTP server has not been
resolved by the secondary DNS server.
TCP/IP stack is not able to reach the primary or
secondary DNS servers or a wrong SMTP
server address has been entered.
#CME ERROR: <value>
Notes: An error has occurred during the
communication with the remote SMTP server. It
may also happen during the data transfer (after
the OK message).
This error can be due to one of the following
reasons:
- DNS servers are not able to resolve the
SMTP server address.
- SMTP server is temporarily out of service.
- Authentication (SMTPUN, SMTPPW) is not
valid.
- An email address specified in REC1 or
CCREC1 is not valid.
- n = inactivity period of 50 seconds on the
serial port.
See section ‘Response messages and error codes’
To view parameters, use #VMAIL and #VSMTP. They are also listed in #VMAILi (where i = 1, 2, or 3)
Universal IP AT Commands Reference Guide (Document S000457G)
23
相关PDF资料
MT5692SMI-X-L-92 V.92 SERIAL DATA
MT9234MU MODEM V.92 DATA/FAX USB WORLD
MT9234ZBA-NAM MODEM V.92 WORLD DATA/FAX
MT9234ZBA-USB-CP MODEM V.92 DATA/FAX USB WORLD
MT9234ZBA-USB MODEM V.92 DATA/FAX WORLD USB
MT9234ZPX-PCIE-CP MODEM V.92 DATA/FAX/VOICE WORLD
MT9M032I12STCH ES KIT HEAD BOARD FOR MT9M032
MT9T031P12STCH ES KIT HEAD BOARD FOR MT9T031
相关代理商/技术参数
MT5692SMI-V-34.R1 功能描述:拨号模块 V.34 Serial Data/Fax Speakerphone 5V RoHS:否 制造商:Multi-Tech Systems 产品:Data / Fax Modems 最大数据速率:56 kbps 存储类型:Flash 接口类型:Serial 工作电源电压:3.3 V 工作电源电流:95 mA 功耗:310 mW 最大工作温度:+ 70 C 尺寸:64.5 mm x 26.5 mm x 17 mm
MT5692SMI-V-34.R1-SP 功能描述:拨号模块 V.34 Serial Data/Fax Speakerphone 5V RoHS:否 制造商:Multi-Tech Systems 产品:Data / Fax Modems 最大数据速率:56 kbps 存储类型:Flash 接口类型:Serial 工作电源电压:3.3 V 工作电源电流:95 mA 功耗:310 mW 最大工作温度:+ 70 C 尺寸:64.5 mm x 26.5 mm x 17 mm
MT5692SMI-V-34-SP 功能描述:拨号模块 V.34 Serial Data/Fax 5V RoHS:否 制造商:Multi-Tech Systems 产品:Data / Fax Modems 最大数据速率:56 kbps 存储类型:Flash 接口类型:Serial 工作电源电压:3.3 V 工作电源电流:95 mA 功耗:310 mW 最大工作温度:+ 70 C 尺寸:64.5 mm x 26.5 mm x 17 mm
MT5692SMI-V-92 功能描述:拨号模块 V.92 Serial Data/ V.17 Fax/Voice-5V RoHS:否 制造商:Multi-Tech Systems 产品:Data / Fax Modems 最大数据速率:56 kbps 存储类型:Flash 接口类型:Serial 工作电源电压:3.3 V 工作电源电流:95 mA 功耗:310 mW 最大工作温度:+ 70 C 尺寸:64.5 mm x 26.5 mm x 17 mm
MT5692SMI-V-92.R1 功能描述:拨号模块 V.92 Serial Data/Fax Speakerphone 5V RoHS:否 制造商:Multi-Tech Systems 产品:Data / Fax Modems 最大数据速率:56 kbps 存储类型:Flash 接口类型:Serial 工作电源电压:3.3 V 工作电源电流:95 mA 功耗:310 mW 最大工作温度:+ 70 C 尺寸:64.5 mm x 26.5 mm x 17 mm
MT5692SMI-V-92.R1-SP 功能描述:拨号模块 V.92 Serial Data/Fax Speakerphone 5V RoHS:否 制造商:Multi-Tech Systems 产品:Data / Fax Modems 最大数据速率:56 kbps 存储类型:Flash 接口类型:Serial 工作电源电压:3.3 V 工作电源电流:95 mA 功耗:310 mW 最大工作温度:+ 70 C 尺寸:64.5 mm x 26.5 mm x 17 mm
MT5692SMI-V-92-SP 功能描述:拨号模块 V.92 Serial Data/Fax 5V RoHS:否 制造商:Multi-Tech Systems 产品:Data / Fax Modems 最大数据速率:56 kbps 存储类型:Flash 接口类型:Serial 工作电源电压:3.3 V 工作电源电流:95 mA 功耗:310 mW 最大工作温度:+ 70 C 尺寸:64.5 mm x 26.5 mm x 17 mm
MT5692SMI-X-L-92 功能描述:拨号模块 V.92 Serial Data/Fax 3.3V No LED Pins RoHS:否 制造商:Multi-Tech Systems 产品:Data / Fax Modems 最大数据速率:56 kbps 存储类型:Flash 接口类型:Serial 工作电源电压:3.3 V 工作电源电流:95 mA 功耗:310 mW 最大工作温度:+ 70 C 尺寸:64.5 mm x 26.5 mm x 17 mm