Web Forms :: Sending Sms From Application Through GSM Modem?
Sep 17, 2010
there are many samples for sending sms from application through GSM modem.is it possible to send email through GPRS activated sim to others. is there any application regarding this developed in c# asp.net.
I am developing an ASP.NET web page for sending sms using gsm modem. I have connected my phone using data cable to my PC.What are all the other requirements needed?I need to write vb.net code in code behind file to send SMS Using GSM Modem. What steps do i take to develop my web page for it.
I have a new account with no-ip.com with Dynamic DNS Update Clients installed in my pc. my url is [URL] when ever i enter this ip in browser it shows me my modem dsl router setup page.. i need to show my webpage which is in IIS. For local it would be like this: [URL] i need to show this webpage [URL] (all over the world if user enter)-> [URL] So how to Achieve this.
Is it possible to detect GSM mobile (any kind) which connectedthrough serial port to computer and then be able to send SMS throughthis mobile phone to other mobile phones from asp.net website running under iis(only 1 system), could anyone help me and guideme, I wrote a program which could open COM port but still couldn't detect mobile phone and send SMS through it.
I wanted to send and receive SMS from my application, as of the need i bought a Wavecom GSM Modem. I also downloaded ActiveXperts Toolkit for communicating with GSM Modem, i can be able to send SMS through the GSM Modem. have problem with receiving SMS.
I have a requirement like sending multiple mails for each update in database.But if i write mail sending code on button click then it will delay the page load time till all mails are send.Is there any way to send mails using seperate thread that runs at backend or maintain a queue.
One more think content of all mails are not same always.
As indicated in the Subject, I have a web application (say APP) that should feature an e-Mail Notification Service (ENS). Activation of the Service is controlled by a Button in a dedicated page where some parameters are also included to set running Period (FromTime - ToTime), Interval, Recipients, etc.
When said button is clicked, it should maintain those parameters into database then launch ENS. Since ENS is expected to run for good according to set parameters, it logically should run as an external application/service, independent from APP.
When ENS starts, it needs to consult database to fetch parameters, then schedules its Timer to periodically check database for some transactions that when found, should trigger ENS to dispatch e-Mails to concerned Recipient(s).
CHALLENGES:
1. Launch ENS as an external application on button click from APP.Achieved by using System.Diagnostics.Process class. However, I encountered a problem in verifying if the process is already running before starting it. The root of the problem lies in ProcessName property. Since ALL web applications must be launched via IE, hence, have iexplore as their ProcessName, which is also applicable to all processes started through IE, it is very likely to have multiple processes utilising IE. How to check which is which? I couldn't figure out that.
Eventually, I ended up with a workaround: when the Process is started from APP, capture its ID and save it to database, then use this ID with GetProcessById() method for later verification. When the Process is terminated, reset stored ID in database.
2. What sort of application should ENS be: Windows Application or Web Application?
In either way however, ENS will always run invisible in the background being a Process. If this is the case, how about creating it as a Windows Service instead?
I did a lot of reading but still confused. However, the choice is limited now to either Web Application or Windows Service. Which one is more convenient to the task in hand?
3. What Timer to use?
I tried System.Timers.Timer in a test web application but it didn't fire! Then I used ASP AJAX Timer and it worked pretty well (I still need though to try running it from APP to judge its functionality). I came across some recommendations to use System.Threading.Timer but haven't tested that yet. Would it worth the trial?
4. ENS as a Windows Service.
If I create ENS as a Windows Service, would I be able to communicate with database? How would this influence the Timer to use?
i am sending a html file (attachment) using windows application, when i open the mail it will displays the html content including buttons, tabs, but i don't want to dispaly those buttons and tabs
I will be creating a webform that will require online application and sending/uploading of resume that will later be forwarded to an e-mail address (the resume will be an email attachment). I badly need some tips on this! Really new at these things. I will be using VB to code the web form.
Looking to build a web application which provides a platform for sending bulk SMS on reasonable rates. Whether i have to sign an agreement with GSM providers for sending SMS or is there an alternative for this? If so, how can i embed the SMS service with my application code?
I have a web Page in my ASP.NET MVC application with a link called "Click here to request the access".When the user clicks on this, Outlook New Email window is not showing.
Here is the Code using mailto:
<span><a href="mailto:Admin@XXXX.com?subject=Please give access to the user">Click Here</a> to request the access.</span>
I would appreciate if anyone can give me some tips or ideas on a scenario I am working on. For instance, I have an asp.net solution and a webservice. I am sending data to the webservice which updates the settings, and while its doing it I would like the asp.net solution (website) to have a sort of log on the screen showing the user whats happening/which settings are being updated...Now from the webservice, while the settings/updates are being done, is it possible to send a request/state back to the asp.net project while that setting is being updated, rather than sending 1 setting at a time?
I am working on sending twitter updates from my asp.net website. I have the authorization down but I am stuck when it gets to sending the tweet here is my code behind:
protected void btnAuth_Click(object sender, EventArgs e) { // add these to web.config or your preferred location var consumerKey = ConfigurationManager.AppSettings["consumerKey"]; var consumerSecret = ConfigurationManager.AppSettings["consumerSecret"]; //If User is not valid user if (Request.QueryString["oauth_token"] == null) { //Step 1: Get Request Token OAuthTokenResponse RequestToken = OAuthUtility.GetRequestToken(consumerKey,consumerSecret); //Step 2: Redirect User to Requested Token Response.Redirect("http://twitter.com/oauth/authorize?oauth_token="+ RequestToken.Token); } else { //For Valid User string Oauth_Token = Request.QueryString["oauth_token"].ToString(); var accessToken = OAuthUtility.GetAccessToken(consumerKey, consumerSecret, Oauth_Token, txtPIN.Text.Trim()); lblMessage.Text = "<b>Hello " + accessToken.ScreenName + ", Welcome to my Twitter App<b>"; lblMessage.Text += "<br/> Token: " + accessToken.Token; lblMessage.Text += "<br/> TokenSecret: " + accessToken.TokenSecret; lblMessage.Text += "<br/> UserId: " + accessToken.UserId; lblMessage.Text += "<br/> VerificationString: " + accessToken.VerificationString; } } protected void btnTweet_Click(object sender, EventArgs e) { // add these to web.config or your preferred location var consumerKey = ConfigurationManager.AppSettings["consumerKey"]; var consumerSecret = ConfigurationManager.AppSettings["consumerSecret"]; OAuthTokens accessToken = new OAuthTokens(); accessToken.AccessToken = "xxxxxxxxxxxxxxxxxxxxxxxxxxxx"; accessToken.AccessTokenSecret = "xxxxxxxxxxxxxxxxxxxx"; accessToken.ConsumerKey = consumerKey; accessToken.ConsumerSecret = consumerSecret; TwitterStatus TweetStatus = new TwitterStatus(); TweetStatus.Update(accessTokens, txtTweet.Text); }
I dont know how to get the AccessToken & AccessTokenSecret.
i'm trying to send a mail with c#, but atm it isn't working out that well. When i try to run the code, i get an error that says: "5.5.1 Authentication Required."
Here's the code to send the mail:
[Code]....
i think i have all the required code to send the mail, it just won't work. i've tried with port 465 and 25, but without success. I've checked the username and password several times. i'm just out of ideas.
and a buttom with a label saying "your mssg was successfully sent!".
Currently, my contact.aspx.vb contains only the following code:
Partial Class contact Inherits System.Web.UI.Page Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click[code]....
In fact i am lost, a freind told me i cant complete my contact page except when the site is online. in fact i didnt deploy it yet, it is offline. Also i read something saying i need some software to be installed like iis and smtp.
im working in a project for sending sms in asp.net. In a contact form there is two text boxes for entering customers mobile number and message. By clicking the submit button the message should come to my mobile number as a sms and sms should send to customers mobile number .
My application needs to send an email once the user has been registered. It should be able to send the new credentials, and a URL from the mail body. Every thing is working fine but I have few specifications that I am not able to reach.
1. I have multiple lines and I am not able to send a new line character from the mail body. 2. I should send them the link of my application which should be done using javascript (i guess) and i can not do it as well.
System.Net.Mail. MailMessage mail = new System.Net.Mail.MailMessage(); mail.Body =................
i have two forms in first form there is a button control by clicking this button second form will open, there i'll do some calculation in the text boxes and press a button called "back" in second form. by clicking back button value from second form should come to a textbox in form one.
i have developed asp.net page for users to register their mobile numbers in sql server database but after i contacted my SMS Gateway provider they provided me with XML API for sending bulk sms. ( I need to find a way to make XML they provided me work to read all mobile numbers stored in my database for sending them as bulk sms or making a for loop to make loop on numbers on the database to make them written in XML code they provided me )
Here is the XML file i have received from Gateway provider:
SMS Business XML Module
Application Overview
Request
Response
How to use SMS Business XML Module
Application Overview
SMSBusiness XML module is a powerful SMS solution that provides a userfriendly
interface for sending customised SMS messages to a large number of
mobile numbers within minutes.
SMSBusiness also empowers you to modify the Subscriber Name, SenderID &