每天在特定时间发送短信

编程入门 行业动态 更新时间:2024-10-25 02:25:58
本文介绍了每天在特定时间发送短信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想每天早上7点通过短信向管理人员发送昨天提交的申请总数和待处理的申请详细信息... 这必须从我的asp应用程序自动发送... 我怎么能做到这一点...是谁有主意...

Hi, I want to send the total submitted applications and pending applications details of yesterday, everyday 7am to management through sms... this must be send automatically from my asp application... how can i achieve this...is anyone has idea...

推荐答案

首先,您需要确定采用哪种方式从应用程序发送短信.因为我知道大多数人使用两种方式发送短信.一个通过GSM调制解调器,另一个通过在线短信服务器. 如果您选择第一种方式,则需要一个与您的PC连接并通过此调制解调器发送短信的GSM调制解调器.有关通过调制解调器发送短信的信息,请参见以下文章. 通过GSM调制解调器发送和读取SMS使用AT命令 如果您选择第二种方式,则需要购买在线短信服务器以发送短信.服务器提供程序为您提供一些API.您用于发送和接收短信的API. 1st of all you need to decide which way you apply to send sms from your application. Because I know two way most of people use to send sms. One via GSM Modem and another one online sms server. If you choose 1st way then you need a GSM Modem who connected with your pc and send sms via this modem. See below article for Send sms via Modem. Send and Read SMS through a GSM Modem using AT Commands If you choose 2nd way then you need to buy a online sms server to send your sms. server provider provide you some API. Those API you use to send and received sms.

注册此Web服务 www. webservicex/sendsms.asmx [^ ] 然后,在您的代码中添加一个计时器控件 然后在节拍事件中检查时间后发送短信 像 Register this webservice www.webservicex/sendsms.asmx[^] Then, in your code add a timer control then on the tick event send the sms after checking the time like Timer1_Tick(() { if(DateTime.Now == 'time you want the SMS to be sent') { semdsms obj = new sendsms(); obj.SendSMSToIndia(params); } }

obj是Web服务对象 而且您必须保持应用程序运行

obj is the webservice object and you would have to keep the application running

更多推荐

每天在特定时间发送短信

本文发布于:2023-11-25 18:39:55,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1630893.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:发送短信   时间   在特定

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!