TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mfwamba Tshimanga
NA
155
46.2k
send message to multiple recipients
Sep 8 2014 6:06 PM
Hi!
My code allow me to send SMS to my cellnumber and its works.
But I want to learn how can I send the same message (or SMS) to multiple recipients.
Thanx!
My codes:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Net;
using System.IO;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
try
{
WebClient client = new WebClient();
string to, msg;
to = textBoxTo.Text;
msg = textBoxMsg.Text;
string baseurl = "http://api.clickatell.com/http/sendmsg?user=[x]&password=[xx]&api_id=[xxx]&to=[xxxx]&text=Message" + to + "'&text='" + msg + "'";
client.OpenRead(baseurl);
MessageBox.Show("Message sent");
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
}
}
Reply
Answers (
1
)
difference b/w Httphandler implementation with .ashx and .cs
adding online games in aspx