...
Code Block |
---|
<REPLYTO> <ADDRESS type="URL" role="REPLYTO" value="http://sms.company.com/receive?/text=%%TEXT%%&from=%%FROM%%"/> </REPLYTO> |
Custom Attributes
To use "reply to" with custom attributes
Eg customer wants to send out SMS to 3 car owners with regos: ABC123, DEF456 & HIJ789
You can set the rego in the URL query string
SMS # 1
<REPLYTO>
<ADDRESS type="URL" role="REPLYTO" value="http://sms.company.com/receive?text=%%TEXT%%&from=%%FROM%%®o=ABC123"/>
</REPLYTO>
SMS #2
<REPLYTO>
<ADDRESS type="URL" role="REPLYTO" value="http://sms.company.com/receive?text=%%TEXT%%&from=%%FROM%%®o=DEF456"/>
</REPLYTO>
SMS #3
<REPLYTO>
<ADDRESS type="URL" role="REPLYTO" value="http://sms.company.com/receive?text=%%TEXT%%&from=%%FROM%%®o=HIJ789"/>
</REPLYTO>
This method can be used to set other identifying attributes; eg your own message id.
Example Document
Code Block |
---|
<!DOCTYPE DOCUMENT SYSTEM "http://localhost:8080/gateway/msg_core.dtd"> <DOCUMENT mode="NORMAL"> <SENDER password="myPassword"> <ADDRESS type="EMAIL" role="FROM" value="my.account@company.com"/> </SENDER> <REPLYTO> <ADDRESS type="URL" role="REPLYTO" value="http://sms.company.com/receive?/text=%%TEXT%%&from=%%FROM%%"/> </REPLYTO> <SMS> <HEADER></HEADER> <FOOTER></FOOTER> </SMS> <MESSAGE> <ADDRESS type="SMS" role="TO" value="0410123123"/> <BODY type="TEXT"> <PAYLOAD type="TEXT" encoding="ASCII">text of message to send</PAYLOAD> </BODY> </MESSAGE> </DOCUMENT> |
...