2 easy gprs - email sending application – Rainbow Electronics GM862-QUAD-PY User Manual
Page 38
Easy GPRS User Guide
80000ST10028 Rev. 4 - 16/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 38 of 63
The Telit module is now back to command mode and the socket is closed.
2.4.2 Easy GPRS - EMAIL sending application
Let’s suppose we want to send with our embedded device an EMAIL by using a SMTP server.
Initial data:
Server to be contacted
smtp.domain.com
SMTP service
port #25
Application Layer Protocol
SMTP (RFC821)
Sender
"module"<[email protected]>
Receiver
"Receiver"<[email protected]>
Subject
Email Test
Message body
This message is sent in order to
test Easy GPRS feature. Hello
World!
GPRS settings
APN
internet.gprs
IP of GPRS device
dynamically assigned by the
network
DNS
assigned by the network
USERID
EASY GPRS
PASSWORD
EASY GPRS
SMTP settings
SMTP server address
smtp.domain.com
Email account
USERID
PASSWORD
telit
Socket parameters
Connection Identifier
1
Packet size (used by
TCP/UDP/IP stack for data
sending)
300
Socket inactivity timeout
90
Connection timeout
600
Data sending time out
50