infobip / infobip-api-csharp-client

Infobip API client library in C#, distributed as a NuGet package.
https://www.infobip.com/docs/api
MIT License
12 stars 18 forks source link

How to Receive value from SMSResponse #6

Closed JayakumarJK closed 3 years ago

JayakumarJK commented 5 years ago

Hi

I am using send SMS using this line

SMSResponse smsResponse = await smsClient.ExecuteAsync(request);

but it is not return any message from my aspx.cs Page

can you share the code how to receive return value?

dario-ib commented 5 years ago

Hi,

The following examples shows how to read data from SMSResponse: https://github.com/infobip/infobip-api-csharp-client/blob/master/InfobipClient/InfobipClientExamples/Examples/AdvancedSmsExample.cs#L49

Hope this helps. If it doesn't, we would kindly ask you to clarify what do you mean with "not return any message". Messages are not received on the handset or no results are returned from the await operator? Please provide more details.

Kind regards

JayakumarJK commented 5 years ago

Hi

it is working console application

but when i use asp.net c# it is nothing return response in this method can you share the code for the return message in webapplication ?

dario-ib commented 5 years ago

Hi, We would like to know how are you reading the response. Could you please provide a code snippet or explain what have you implemented so far? Thank you in advance.

JayakumarJK commented 5 years ago

Hi

How to multiple mobile no send single sms using c# code

On Mon, 16 Sep 2019 at 12:59, dario-ib notifications@github.com wrote:

Hi, We would like to know how are you reading the response. Could you please provide a code snippet or explain what have you implemented so far? Thank you in advance.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/infobip/infobip-api-csharp-client/issues/6?email_source=notifications&email_token=ABGJKZPTHHRQW2TUDHKTWLLQJ4YVHA5CNFSM4IUXYXG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6YKA7I#issuecomment-531669117, or mute the thread https://github.com/notifications/unsubscribe-auth/ABGJKZKKMAVBN2IEKO5LVK3QJ4YVHANCNFSM4IUXYXGQ .

--

ivan-letenko commented 3 years ago

Hi, We just released a new major version of the library. Changes are not backward compatible. You can specify multiple destinations for SmsTextualMessage, please check the README file for an example.