如何从ASP.NET PLIS中的web应用程序发送自动短信帮助我 [英] How to send automatic sms from web aplication in ASP.NET plz help me

查看:71
本文介绍了如何从ASP.NET PLIS中的web应用程序发送自动短信帮助我的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想每天在网上发送12 clook的每日短信在asp.net



我尝试了什么: < br $>


i尝试了很多,但我没有考虑输出,所以请帮助我如何从网站发送每日短信

i want to send a daily sms at 12 clook from online every day in asp.net

What I have tried:

i tried lots of but am not geting the out put so pls help me to how i sent daily sms from website

推荐答案

你有谷歌吗,不是吗?快速和快速脏搜索显示此页面: c# - 从ASP.NET网站发送短信 - 堆栈溢出 [ ^ ]。
Did you Google for, didn't you? A quick & dirty search shows this page: c# - Sending SMS from an ASP.NET website - Stack Overflow[^].


您要做的事实上有两个部分:发送短信以及发送短信。



要发送短信,您需要一个SMS服务的客户端。如果您只是使用标准手机服务,您只需向提供商​​发送电子邮件2-SMS界面即可免费获取(例如 9115551212@txt.att.net )。如果您想要完全双向通信,或者您想要虚拟电话(谷歌语音),那么您将需要SMS服务(如Twilio或CDyne)的帮助。无论你打算做什么,谷歌都会提供单打样本脚本。



另一部分是安排短信。应用程序/网站/服务不仅可以每天自行启动一次,然后自行关闭。您需要我们某种类型的 Scheduling 软件才能在特定时间触发此类软件。 Windows有任务计划程序,Linux有 cron 执行相同的角色;只是设置你想要做什么,何时操作系统将触发SMS例程。
There are actually 2 parts to what you want to do: Sending the SMS message as well as Scehduling the SMS.

To send an SMS message you are going to need a client for the SMS service. If you are just using "standard" cell phone services you can often get away with just sending an email to the providers email-2-SMS interface (eg 9115551212@txt.att.net). If you want full two way communication or you want "virtual" phones (google voice) then you are going to need the assistance of an SMS Service such as Twilio or CDyne. No matter what you plan to do, there are oddles of sample scripts available on Google.

The other part is scheduling the SMS. Applications/web sites/services don't just fire up on their own once a day to do something and then close themselves out. You will need to us a Scheduling software of some type to trigger this at specific times. Windows has Task Scheduler and Linux has cron performing the same role; just set you want to do and when and the OS will trigger the SMS routine.


这篇关于如何从ASP.NET PLIS中的web应用程序发送自动短信帮助我的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆