Click here to Skip to main content
13,589,109 members
Rate this:
Please Sign up or sign in to vote.
See more:
I have a website project working on, I want to connect it to Nokia PC suite and make the button from the website send an SMS using the PC suite , can I get your help?

thanx in advance..
Posted 20-Feb-13 8:07am
Richard C Bishop 20-Feb-13 14:48pm
You may get help if you attempt this yourself and then post the code you have tried once you are stuck. Also, I am sure you mean well and it is probably a culture difference, but addressing a professional forum with "dears" is not appropriate. You sound like a grandmother trying to gather the children for story time, ;). Joking aside, it is just a friendly comment to make you aware for future reference.
Anas Abb988 20-Feb-13 15:20pm
thank you.. I appreciate that.
Richard C Bishop 20-Feb-13 15:29pm
You are welcome. Do a little research and find examples of what you want. Get started with those and if you get stuck come back here with the code and a question on your issue. This will be the best method for all parties.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Hi I had the solution my self to whom intersted..

in webform1.aspx
<![CDATA[<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="SMS.WebForm1" %>]]>




and then we use the code in Webform1.aspx.cs // if you are using C#:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.IO.Ports;

namespace SMS

public partial class WebForm1 : System.Web.UI.Page
SerialPort SP = new SerialPort(); // create a SerialPort to access the Mobile as a modddem
protected void Page_Load(object sender, EventArgs e)


protected void Button1_Click(object sender, EventArgs e)

SP.PortName = "COM1"; // your mobile as modem, you can know it is COM? from Control Panel / Phones and Modems . then see your mobile what COM is it!
SP.BaudRate = 9600; // necessary to be as it shown in your phone properties in phones and modems
SP.DataBits = 8; // leave it as is
SP.Parity = Parity.None; //leave it as is
SP.StopBits = StopBits.One; //leave it as is
SP.Open(); // opening the port to be ready sending the SMS
string PH_NU;
PH_NU = char.ConvertFromUtf32(34) + TextBox1.Text + char.ConvertFromUtf32(34); .. tell the port to take the Phone Num you entered
SP.Write("AT + CMGS="+PH_NU + char.ConvertFromUtf32(13));
SP.Write(TextBox2.Text + char.ConvertFromUtf32(26) + char.ConvertFromUtf32(13)); // sending the message in TextBox2 using the properties in the two above lines.


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web02 | 2.8.180615.1 | Last Updated 24 Feb 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100