C#

Moderators: None (Apply to moderate this forum)
Number of threads: 2712
Number of posts: 5738

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Sendind sms[C#] Posted by razanabanu on 29 May 2007 at 11:44 PM
Hi All,Im new to our site..Im delightful to join you all...can any one help me to send sms to mobile from C# application?...Thank you in advance..
Report
Re: Sendind sms[C#] Posted by Jonathan on 30 May 2007 at 5:00 AM
: Hi All,Im new to our site..Im delightful to join you all...
Welcome!

: can any
: one help me to send sms to mobile from C# application?...Thank you
: in advance..
:
A Google search for C# SMS looks to be pretty informative and provide plenty of times - the CodeProject article is probably worth a look.
http://www.google.co.uk/search?q=c%23+sms

Jonathan
###
for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&&
(tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;
/(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");
Report
Re: Sendind sms[C#] Posted by loco on 31 May 2007 at 1:41 AM
: : Hi All,Im new to our site..Im delightful to join you all...
: Welcome!
:
: : can any
: : one help me to send sms to mobile from C# application?...Thank you
: : in advance..
: :
: A Google search for C# SMS looks to be pretty informative and
: provide plenty of times - the CodeProject article is probably worth
: a look.
: http://www.google.co.uk/search?q=c%23+sms
:
: Jonathan
: ###
: for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&&
: (tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;
: /(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");

Hi

Sending an SMS should be easy. The only thing that you must look at is the AT-Command of the modem you are using. If your modem has a serial port, then your task is very easy.

All you do is send the AT-Commands via the serialport component in your C# application. So your first step is to find information on how to use the serialport component in your C#. All you do is drag the component to your form and open the serialport. Then you can send the commands via serialport.

I think most modems have this command:
AT+CMGS = "+277777777"

where +277777777 is the cell number. But you must send the command to covert the SMS to text, otherwise you will get funny characters. Check SMS commands in your modem datasheet.

loco


Report
Re: Sendind sms[C#] Posted by razanabanu on 1 Jun 2007 at 12:13 AM
: : : Hi All,Im new to our site..Im delightful to join you all...
: : Welcome!
: :
: : : can any
: : : one help me to send sms to mobile from C# application?...Thank you
: : : in advance..
: : :
: : A Google search for C# SMS looks to be pretty informative and
: : provide plenty of times - the CodeProject article is probably worth
: : a look.
: : http://www.google.co.uk/search?q=c%23+sms
: :
: : Jonathan
: : ###
: : for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&&
: : (tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;
: : /(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");
:
: Hi
:
: Sending an SMS should be easy. The only thing that you must look at
: is the AT-Command of the modem you are using. If your modem has a
: serial port, then your task is very easy.
:
: All you do is send the AT-Commands via the serialport component in
: your C# application. So your first step is to find information on
: how to use the serialport component in your C#. All you do is drag
: the component to your form and open the serialport. Then you can
: send the commands via serialport.
:
: I think most modems have this command:
: AT+CMGS = "+277777777"
:
: where +277777777 is the cell number. But you must send the command
: to covert the SMS to text, otherwise you will get funny characters.
: Check SMS commands in your modem datasheet.
:
: loco
:
:
:
Hi,Thank You for your help..Im very new to this application..can you help me by giving sample code...Thank You..
Report
Re: Sendind sms[C#] Posted by VICTOR12LOUIS on 10 Mar 2011 at 5:18 AM
nice solution
Report
Re: Sendind sms[C#] Posted by razanabanu on 1 Jun 2007 at 12:36 AM
: : Hi All,Im new to our site..Im delightful to join you all...
: Welcome!
:
: : can any
: : one help me to send sms to mobile from C# application?...Thank you
: : in advance..
: :
: A Google search for C# SMS looks to be pretty informative and
: provide plenty of times - the CodeProject article is probably worth
: a look.
: http://www.google.co.uk/search?q=c%23+sms
:
: Jonathan
: ###
: for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&&
: (tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;
: /(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");

Hi,friend.Im waiting for you reply..

Report
Re: Sendind sms[C#] Posted by dilipv on 6 Mar 2008 at 1:44 AM
: Hi All,Im new to our site..Im delightful to join you all...can any
: one help me to send sms to mobile from C# application?...Thank you
: in advance..
:

hi there,
There are several articles which shows how to send and recieve sms via c# OR VB application. But it requires GSM gateway OR GSM modem without them it is not possible to send and recieve sms to any number.
Just checkout the given links.

http://www.codeproject.com/KB/IP/Sending_SMS_using_Net.aspx
http://www.codeproject.com/KB/cs/SMS.aspx

Hope this will help you.
Thanks & Regards
Dilipv
Dilip Kumar Vishwakarma
Programmer
SharePoint Consulting

If this post is answer for your query then don't forget to mark as an answer.
Report
Re: Sendind sms[C#] Posted by net-tutorials on 7 May 2011 at 7:54 AM
You need to make use of WebRequest and WebResponse objects to call the below http API's.
http://www.smsachariya.com/api.php


----------------------
If you need further assistance you may chat with me at below location:
http://net-tutorials.org/talk-to-the-developer/
Report
Re: Sendind sms[C#] Posted by wire2air on 1 Dec 2008 at 9:41 AM

Hi,

You can try these links

http://www.txtimpact.com/

http://www.wire2air.com/

They provide Active X as well as HTTP API.

Thanks
Report
Re: Sendind sms[C#] Posted by victorsvenson on 8 May 2009 at 1:36 AM
Hi,
I think you should use an SMS gateway software. I found this on the internet: http://www.ozekisms.com
You can use it from C# as well. Yo will need a GSM modm or an IP connecton to be able to send and receive messages.
Report
Re: Sendind sms[C#] Posted by MichaelQ on 25 Feb 2011 at 9:00 AM
Hi,

Have you tried the component of this company?
http://activexperts.com/xmstoolkit/
They provide an SMS Toolkit and I think they have C#.NET samples included. If u look on their website, you can find also other samples.

Bye


Report
Re: Sendind sms[C#] Posted by vikramrandhawa on 28 Sept 2011 at 9:49 PM
Yes it is quite Easy to Send SMS to the Mobile from the .net built application.
Just Use the following Code for Sending Email.
<script language="VB" runat="server">
Sub Page_Load(Sender As Object, E As EventArgs)

Dim msg as New MailMessage()

msg.To = "das@xyz.com"
msg.From = "das@abc.com"
msg.Subject = "test"
'msg.BodyFormat = MailFormat.Html
msg.BodyFormat = MailFormat.Text
msg.Body = "hi"

SmtpMail.SmtpServer = "localhost"

SmtpMail.Send(msg)
msg = Nothing
lblMsg.Text = "An Email has been send to " & "das@abc.com"

End Sub
</script>

Report
This post has been deleted. Posted by vikramrandhawa on 28 Sept 2011 at 9:51 PM
This post has been deleted.
Report
Re: Sendind sms[C#] Posted by nazarian on 8 Apr 2012 at 10:02 AM
you can find some good resources at http://www.ahra.ir
Report
Re: Sendind sms[C#] Posted by nazarian on 8 Apr 2012 at 10:04 AM
you can find some good resources at http://www.ahra.ir
Report
Re: Sendind sms[C#] Posted by nazarian on 8 Apr 2012 at 10:37 AM
you can find some good resources at http://www.ahra.ir
Report
Re: Sendind sms[C#] Posted by nazarian on 8 Apr 2012 at 10:40 AM
you can find some good resources at http://www.ahra.ir
Report
Re: Sendind sms[C#] Posted by nazarian on 8 Apr 2012 at 10:43 AM
you can find some good resources at http://www.ahra.ir



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.