0

I'm making application and I want be alerted in some situation. I want make app to send SMS on my phone.

How can I use some free smsgate through C#. I've T-Mobile CZ.

I read I can send an email on some special email address and it will send SMS to phone. But I don't know how can I do that and I don't know how long message can be and if I can use diacritics or not.

CodesInChaos
  • 103,479
  • 23
  • 206
  • 257
sczdavos
  • 1,995
  • 11
  • 37
  • 67
  • And you try send sms via e-mail? – Sergey May 28 '12 at 10:13
  • Yes I tried. But you muset be registered on webpage of operator and you must activate it. I would like simply enter number and message. But if is it harder I'll use this solution. – sczdavos May 28 '12 at 10:15

2 Answers2

1

Check out this website they list a whole bunch of carriers and how to send email as a text

I know in canada A bell mobility phone can be texted to like this

6135551234@txt.bell.ca

http://appscout.pcmag.com/e-mail/276407-how-to-send-email-to-sms-cell-phones-by-carrier

Edit

This next link has a CZ T-Mobile http://mutube.wordpress.com/projects/open-email-to-sms/gateway-list/

In Czech Republic:

  • Vodafone – name@vodafonemail.cz (max 9×160=1460 chars)
  • O2 – n@sms.cz.o2.com (max 60 chars)
  • T-Mobile – name@click.cz (only paying customers)

Check out this link for how to send an email

Sending email through Gmail SMTP server with C#

Community
  • 1
  • 1
General Grey
  • 3,538
  • 2
  • 22
  • 32
  • Thanks for respond. I already used send Email by Gmail SMTP and I call to my operator and ask him for forwarding emails as sms on my phone. – sczdavos May 28 '12 at 12:50
  • I get your first part, but the second part your losing me... You have someone who does that for you? You can use the first part to send the emails automatically to SMS – General Grey May 28 '12 at 16:30
  • Yes I tried it but it does not work for me - I'm from Czech Republic. I just call to my operator and ask him how can I send an email and recieve a sms. And I just create a new email account (special from sms) and set it to forward emails as sms to my phone. – sczdavos May 28 '12 at 20:07
  • Are you saying this works for you? Do you have your answer? Because I am not understanding what it is you want then. – General Grey May 29 '12 at 12:34
  • I firstly want use some free sms gate where I simply add number and message. But it is difficult for czech operators. Link in edit from you is old and this is no longer functional. How I already said I called to my operator and he set up for me forwarding emails from selected email account to my phone. Operators in CZ sucks also tariffs etc... I want use somethink like http://www.smsbrana.cz/ where I just enter text and number and click send. Its using SMPP protocol how Vitaly Zemlyansky said but I dont want it so complicated in my app. – sczdavos May 29 '12 at 13:45
  • ok, the system you use over there is obviously very different than what we have. I don't even know who you are referring to when you say you called your operator. I will tep back and hopefully someone else can help you. Most likely you need to call your T-Mobile provider and ask them how to send an SMS to your phone from email, if they can't help you I doubt it's possible. I have heard that some providers don't allow email to text, or that they charge you when you receive one. Good Luck! – General Grey May 29 '12 at 15:05
  • Oh sorry, we call T-Mobile provider as "operator". I meant - I called to my T-Mobile provider and he set me forwarding emails as sms. – sczdavos May 29 '12 at 16:09
  • so did he tell you how you can send an email from an email account to your phone as an sms? – General Grey May 29 '12 at 16:14
  • Yes how I already said he set me forwarding emails as sms for selected email account. Its called Postm@il SMS and its free upto 160 chars. Longer sms are charged. – sczdavos May 29 '12 at 16:24
  • .... Ok then I am confused once more, if you can do thism what do you need from us here? – General Grey May 29 '12 at 16:30
  • I wanted to know if I can simply use any free smsgate and send sms to any number. But how I understood that is not as easy as i think. So I do it another way. – sczdavos May 29 '12 at 16:43
0

You should use SMPP protocol, but you need to know smsgate requisites. Look at this libs: inetlab, easysmpp

Vitaly Zemlyansky
  • 331
  • 1
  • 3
  • 12