Easy GPRS User Guide
80000ST10028 Rev. 0 - 02/01/07
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 29 of 35
For our convenience we will store all these parameters with the command:
AT#SKTSAV<cr>
Next step is activation of the GPRS context:
AT#GPRS=1<cr>
+IP: 193.199.234.255
OK
The command gives as response the IP address assigned by the network.
Now we can proceed with contacting the server with AT command for socket dial:
AT#SKTD= 0,25,"smtp.domain.com",0,0<cr>
When we receive the CONNECT indication, then we are exchanging data with the SMTP server
program on the remote host machine.
Following the SMTP protocol we proceed with the HELLO presentation and mail delivery directly over
the serial line (in blu you can find the data sent by us, in violet the one received from host):
220 smtp.domain.com ESMTP Service (7.0.027-DD01) ready
HELO pcprova<cr><lf>
250 smtp.domain.com
AUTH LOGIN<cr><lf> (authentication method)
334 VXRlcm8gkXU6
Z204NjJAZG9tYWluLmNvbQ==<cr><lf> (module@domain.com base64 encoding)
334 UHFzc6dcvmQ6
dGVsaXQ= <cr><lf> (telit base64 encoding)
235 2.0.0 OK Authenticated
MAIL FROM: module@domain.com <cr><lf> (Sender)
250 2.1.0 module@domain.com... Sender ok
RCPT TO: receiver@server.net <cr><lf> (Receiver)
250 2.1.5 receiver@server.net... Recipient ok