Send sms via iPhone programming?
Possible Duplicate:
How to programmatically send SMS to iPhone?
can send sms through programming in iPhone / iPod apps.
a source to share
It is possible to initiate sms message using url sms:<phone-no>
. However, it is impossible to fill any content in sms, and it is not possible to automatically send sms.
More information is available in this Apple article .
a source to share
There are two answers to this question: 1 - Not really. 2 - Of course!
Using OS3.x you can sort it a bit. You can programmatically bring the user to the built-in SMS composing application and you can pre-fill the "TO:" field. However, you cannot programmatically generate the sent message.
Using OS4.0 (currently in beta) you can (as per these guys http://iphonesdkdev.blogspot.com/2010/04/mfmessagecomposeviewcontroller-sample.html ) present a modal view of the SMS, or rather you can show the user something that looks and behaves like an embedded SMS app without taking them out of your program (google MFMessageComposeViewController) and filling in all the fields ... you can even provide more than one destination address for an SMS / MMS message.
However, there is no way to send SMS messages without first presenting these messages to the user. At this point, the user can either send them, or not send them, or modify them before submitting.
a source to share