E-mail to SMS
Hello,
Are you going to make gateway in opposite direction, ie. sending SMS based on email?
Best Regards Darek
Comments (6)
-
repo owner -
reporter Hello,
From http://www.dinstar.com/_upload/down/2014-06-13/DWG%20SMS%20API.v2.1%20en.pdf page 5
Send SMS 1.SMS Server sends a Send SMS Request to DWG, DWG will give a response to that request. After completing the process, DWG will send a Send SMS Result to SMS Server. Also, SMS Server sends a response to that result.
- Send SMS Request: Type 0x01 Body Port 1byte 255 for any port
-
repo owner Added. I don't have the hardware now. So need to test.
-
reporter I can test.
How to use it?
-
repo owner There are two new options in config.py: SMTPD_HOST = '127.0.0.1' # IP address where to listen for smtp incoming connections SMTPD_PORT = 2525 # Smtp port
if they are not empty then smserver will listen for SMTP connections on SMTPD_PORT
In docs/ folder there is an smtpclient.py example of the smtp client. You can use it or any other. Smtp fields: to: phone_number up to 24 bytes message = text to send - 1340 chars
-
repo owner - changed status to resolved
- Log in to comment
I assume that, Email message (RFC 5321, RFC 1870 SIZE extension) comes from SMTP client to custom SMTP server then to SMS server then to DWG device (Email -> SMS server -> DWG hardware)
Questions: 1. How to inform about success/fail delivery? 2. How to select port to send (0-n Sim card)?