问题描述
编写一个Windows应用程序来读取for循环中的MySql数据库表,我正在尝试使用服务提供商提供的Web API向我们的成员发送SMS。
发送前2条短信和手机的程序正在接收消息。从第3行开始,我收到异常错误System.Net.WebException:操作已在Ssytem.Net.WebClient.OpenRead(字符串地址)中的System.Net.WebClient.OpenReead(Uri地址)超时.. ......
我预计会发送超过1000条短信。
请有人给我一个解决方案。请注意,服务提供商无法帮助我。
问候并提前致谢
Yuvaraj
[email protected]
我尝试了什么:
更改了MySQl表行中的电话号码。它仍然是通过短信发送前2行信息。我接到电话了。也来自表
Written a windows application to read a MySql database table within for loop, I am trying to send SMSs to our members using web API supplied by the service provider.
The program sending the first 2 SMS and also phones are receiving the message. From the 3rd row, I am getting an exception error "System.Net.WebException: The operation has timed out at System.Net.WebClient.OpenReead(Uri address) at Ssytem.Net.WebClient.OpenRead(string address) in....."
I am expected to send more than 1000 SMSs.
Please anybody give me a solution for this. Note that the service provider is not in the position to help me.
Regards and advance thanks
Yuvaraj
[email protected]
What I have tried:
Changed the phone nos in the rows of MySQl table. Still it is sending the first 2 rows information through SMS. I am getting the phone no. also from the table
推荐答案
这篇关于SMS通过Web API仅发送2个SMS n显示超时错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!