Examples
CopyC#//Send Basic Message
string username = "username"; //Username used to log into e-txt
string password = "password"; //Password for this account
string originator = "value"; //Orginator value: Can be string or number (The "From" number)
string number = "number"; //Number Message will be sent to
string messageText = "Sample message text sent via Dynmark Messaging web service";
int sendMessageReturn;
MessagingServicesWS webService = new MessagingServicesWS();
sendMessageReturn = webService.SendMessage(username, password, originator, messageText, number);
MessageReceiptClass[] getReceipt;
getReceipt = WebService.GetMessageReceipts(username, password, sendMessageReturn);
Console.WriteLine(sendMessageReturn);
Console.WriteLine(getReceipt);
Copyright Information
Information in this document is subject to change without notice. No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of Dynmark International.
© 2011 Dynmark International Limited. All rights reserved.
Classes
| Class | Description | |
|---|---|---|
| MessagingServicesWS |
Provides messaging services for sending and recieving SMS messages to and from mobile handsets.
|