![]() NET, that endpoint can be and HTTP handler, an ASP.NET MVC Action method, or even a standard ASPX web page. Simply create an endpoint that Twilio can call when it receives a message. As with creating the OMS service for sending messages, receiving messages is simple as well, especially when using Twilio. The OMS guidelines also include information on how to handle incoming text messages. One very nice feature of Outlooks text message editor is that it automatically splits messages over 160 characters up into multiple text messages, which you see in the screen shot above. If Outlook successfully connects to the service then you can start using to send text messages right from Outlook: The OMS guidelines specify that the service must be run using SSL, and Outlook always uses SSL to call the service. Notice that the service provider URL uses and HTTPS address. The configuration dialog has you enter the service URL and a username and password and then lets you test the service. Choosing the Text Message (SMS) option in Outlook will kick off this configuration. Once you’ve set up your service, you can test it by configuring the service as a new Mobile Service account in Outlook. An example of what Outlook passes to the DeliverXms method is below: string DeliverXmsBatch ( string packageXml ) – Sends multiple mobile messages in a batchĪs Outlook calls each method it will pass in XML data which your service can parse in order to determine who is sending the message, what the body of the message is, and who the message is being sent to.string DeliverXms ( string xmsData ) – Sends one mobile message.string GetUserInfo ( string xmsUser ) – Retrieves information about a user.string GetServiceInfo ( ) – Returns information about the service.The OMS guidelines describe how to use a basic SOAP web service to expose a standard set of endpoints that Outlook will call in order discover service and user information and send text messages.Īt a high level, there are four methods an OMS service needs to expose: NET service that conform to these guidelines is made easy by using a standard ASMX Web Service and the Twilio. ![]() In order to send and receive text messages, Outlook needs a service that conforms to the Office Mobile Service (OMS) guidelines. When you combine this ability with the power of Twilio SMS, it becomes very easy to build clients that can leverage text messaging without having to have a mobile device behind them. Microsoft Outlook is one of the most widely used email clients today, and while most people are familiar with sending and receiving emails using Outlook, many don’t know that Outlook has also had the ability to send and receive text messages.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |