c# winfrom 怎么通过连接一个服务器发送短信 不是通过短信猫发送,是通过一个什么协议现实短信群发,应该是网络版吧,那位朋友有类似的源码发我一份,有文档也行,说说思路也行!! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 网上有DEMo,源码没人会给的,要卖钱 sina就有一个短信服务的service,你可以搜一下 正好做过一个以移动mas平台为接入服务器的短信系统#region Mas平台ImApiDotNet.APIClient apiclient = new APIClient();apiclient.init("IP地址", "用户名", "密码", "数据库", "mas");if (apiclient != null){ string sDateTime = string.Empty; if (CheckBox1.Checked == true) sDateTime = Datetime.Now; else sDateTime = txt_SendTime.Text.Trim() + " " + DropDownList1.SelectedItem.Value + ":" + DropDownList2.SelectedItem.Value + ":00"; apiclient.sendSM(sPhone.Split(','), sContent, sDateTime, 168, 168); apiclient.release(); apiclient = null;}#endregion 另一个平台的SMJETCTRLLib.SendMsgClass NetMsg = new SMJETCTRLLib.SendMsgClass();if (NetMsg.Init("IP地地", 端口号) == 1){ string sSmsName = 用户名; string sSmsPwd = 密码; if (NetMsg.Connect(sSmsName, sSmsPwd) == 1) { NetMsg.Append = "不用"; NetMsg.Level = "普通"; NetMsg.Content = sContent; NetMsg.Time = DateTime.Now.ToString("yyyyMMddhhmmss"); NetMsg.SPCode = ""; NetMsg.SendExt(ref arrPhone); }} .net remoting: No message was deserialized prior to calling the DispatchChannelS C# 仓储系统商品返厂问题 超大计算量,应如何处理?(菜鸟求解) 新人,求大神帮忙 关于建立一个人的网站!请问如何实施! 空白SmartCard Read/write的问题 datagrid里的新闻链接只能打开一个链接,怎么可以打开多个链接? C#里面怎么把 类名 和 函数名 作为变量参数传递啊?100分求一个解决方案 C# TCP socket异步 请问如何打开进程性能计数器? 求改正这正则表达式 正则问题
#region Mas平台
ImApiDotNet.APIClient apiclient = new APIClient();
apiclient.init("IP地址", "用户名", "密码", "数据库", "mas");
if (apiclient != null)
{
string sDateTime = string.Empty;
if (CheckBox1.Checked == true)
sDateTime = Datetime.Now;
else
sDateTime = txt_SendTime.Text.Trim() + " " + DropDownList1.SelectedItem.Value + ":" + DropDownList2.SelectedItem.Value + ":00";
apiclient.sendSM(sPhone.Split(','), sContent, sDateTime, 168, 168);
apiclient.release();
apiclient = null;
}
#endregion
SMJETCTRLLib.SendMsgClass NetMsg = new SMJETCTRLLib.SendMsgClass();
if (NetMsg.Init("IP地地", 端口号) == 1)
{
string sSmsName = 用户名;
string sSmsPwd = 密码;
if (NetMsg.Connect(sSmsName, sSmsPwd) == 1)
{
NetMsg.Append = "不用";
NetMsg.Level = "普通";
NetMsg.Content = sContent;
NetMsg.Time = DateTime.Now.ToString("yyyyMMddhhmmss");
NetMsg.SPCode = "";
NetMsg.SendExt(ref arrPhone);
}
}