tags:

views:

33

answers:

1

I want to save any sms that comes to my mobile which is connected my pc,should get save automatically to the database. I want to how can I achieve this using .Net(c#) . Please provide me a solution for this.

A: 

Well, I have participated in a (believe me) big project to achieve that objective professionally. Anyway, I recommend you to left sms in a mail account, then read that mail account as a common POP3 user.

All of that you can achieve in a simple or more complex way. One simple solution could be to have a "Process SMSs" button that polls the mail account for new messages, then write them to desired database.

A more complex scenario is having a Web Service that polls the mail account when a given time elapses. This web service could write directly to database, or put the messages in a queue (MSMQ) where another web service can "parse" them, and then write to the database after they are Ok.

Hope that helps

Ramon Araujo