Why to send an email by SMS if it is cheaper by email?
On http://www.gsm-modem.de/sm
Example to send an email to JOHN SMITH by following AT commands:
AT+CGDCONT = 1,"IP","internet.gprs","0.
AT#USERID = "Happy User"<cr> (2-Authentication setting)
AT#PASSW = "EASY GPRS"<cr> (2-Authentication setting)
AT#SKTSET= 0,25,"smtp.gsm-modem.de"<c
For our convenience we store all these parameters with the command:
AT#SKTSAV
Now we can activate the GPRS connection and let the JOHN SMITH module contact the server:
AT#SKTOP<cr>
When we receive the CONNECT indication, then we are exchanging data with the SMTP server program on the remote host machine.Now following the SMTP protocol we proceed with the HELLO presentation and mail delivery directly over the serial line (in green the data sent by us, in violet the one received from host):
220 smtp.gsm-modem.de ESMTP ; Thu, 5 Jun 2003 14:45:11 +0200
HELLO gsm-modem.de<cr><lf>
250 smtp.gsm-modem.de Hello [111.111.111.127], pleased to meet you
MAIL FROM: "JOHN SMITH"<John.Smith@gsm-mode
250 2.1.0 "JOHN SMITH"<John.Smith@gsm-mode
RCPT TO: "Receiver"<receiver@gsm-mo
250 2.1.5 " John.Smith@gsm-modem.de "... Recipient ok
DATA<cr><lf>
354 Enter mail, end with "." on a line by itself
From: "JOHN SMITH"<John.Smith@gsm-mode
To: "Receiver"<receiver@gsm-mo
Subject: Email Test<cr><lf>
This message is sent for testing Easy GPRS feature. Hello World!<cr><lf>
.<cr><lf>
250 2.0.0 h55CjBVI020859 Message accepted for delivery
Main Topics
Browse All Topics





by: _nn_Posted on 2003-08-21 at 06:29:01ID: 9195335
Could be a number of things : PIN not entered, signal too weak and mobile not registered in a network, etc.
- what model/brand is it ?
- do you mind showing us your source code ? It will be easier to diagnose.