GPRS Connection Parameters

//Set extended error messages
AT+CMEE=2

//Set GPRS APN Name
AT+CGDCONT=1,”IP”,”APN Name”

//Set GPRS Username
AT#USERID=”username”

//Set GPRS Password
AT#PASSW=”password”

Outgoing Connection (Old Commands)

//Open GPRS context 1
AT#GPRS=1

//This will return your ISP assigned IP address
//Open Socket on Port Number at IP Address

Modem Sending Email

Modem Sending Email

Outgoing Connection (New Commands)

//Set packet size and timeouts on context 1-6
AT#SCFG=1,1,300,90,600,50

//Open GPRS context 1-6
AT#SGACT=1,1

//This will return your ISP assigned IP address
//Open Socket on Port Number at IP Address

Modem Sending Email

Modem Sending Email

Important Note

Please note that this script and service provided by Siretta is for test purposes only.

Siretta will not guarantee that this service will remain in operation indefinitely into the future. For applications which rely on using this service it is recommended that you maintain and run the script on your own server using the example script provided below.

Example PHP Script

Modem Sending Email