I am developing an application for iPhone which need to send an SMS message to mutiple users at a time .Is there any third party solution to do this.Is there anyone previously done this.Looking for a solution.
Thanks in advance
You can use the standard mechanism (i.e. MFMessageComposeViewController) to send SMS messages to multiple recipients. The recipients property is an NSArray object.
What about an HTTP to SMS service. In the UK I have used http://www.textanywhere.net/ although I am sure there will be many, many others providing this service now.
Related
Is it possible to check how many of the recipients of your mail or sms successfully received the message you are sending? For instance I will send an SMS to 5 people and only 3 people received the message actually, how can I programmatically identify the number of recipients that actually receives my message? Please help me guys.. I'm really stuck with this..
It's not possible. SMS messaging is a one-way data flow. You send the message and the network will try to send it on. There is no receipt mechanism.
When they introduced iMessage, that has a delivery receipt mechanism (although it isn't always 100% correct) and can also mark if it has been read (if the recipient has read receipt turned on). But that isn't available for you to access programatically.
So, the short answer to your question is
No.
For iOS application, the answer may be "NO".
However, I am sorry to disagreed with Nick.
SMS was defined to have two-way communication between Message center and mobile terminal (MT). End user should be allow to read the SMS recipient.
If you want more information, you can check GSM Technical Specification (phase2+).
http://www.etsi.org/deliver/etsi_gts/03/0340/05.03.00_60/gsmts_0340v050300p.pdf
or in general language as following link:
http://www.developershome.com/sms/sms_tutorial.asp?page=basicConcepts
All the world mobile hand set developer (including Apple) should follow this industrial standard.
I found the "SMS recipient" setting from other mobile device, but NO iPhone.
In short, SMS support 2-way messaging, but Apple do follow the rule.
For your information, but NOT yet evaluated:
If build the SMS with your own application, you can try to add "heading" before as following link. Please share with us for you test with the message in this page after you try.
http://www.thinkjim.com/2008/07/sms-delivery-reports-on-iphone-3g.html
As I want to have the answer too, so I just google around.
and found a answer seem make sense.
This is the answer from offical iOS developer guide.
Wish this can help.
If the user requests that the message be sent, the system queues it for delivery and invokes the delegate object’s messageComposeViewController:didFinishWithResult: method. The result is one of “sent,” “cancelled,” or “failed.”
Details:
http://developer.apple.com/library/ios/#documentation/UserExperience/Conceptual/SystemMessaging_TopicsForIOS/Articles/SendinganSMSMessage.html#//apple_ref/doc/uid/TP40010416-SW1
I am trying to fetch all my gmail account mails in my iphone app. Is there any third party API which provides me some help on this. I am trying to use pop3 but not found success. Mail sending from third party app without using iphone default library is succeed using SMTP. Can we do such kind of thing for fetching mails also.
Thanks in advance.
I would recommend looking into this.
I need to be able to send a pre-formatted email or SMS text message programmatically from within an iphone app. Can this be done? I have looked at apple's MFMailComposeViewController class, but this "provides a standard interface that manages the editing and sending an email message" and the MFMessageComposeViewController class also has it's own "standard system interface for composing SMS text messages". These allow you to present an interface to the user where they have to fill in all the data and then explicitly press a send button.
I cannot use this boilerplate functionality.
I need to be able to send a message without presenting any interface to the user. I know this sounds evil, but actually it is for a commercial application which needs to communicate to a user group in a central office when users in the field have performed specific actions out in the field.
Has anyone found a solution to this?
After much investigation, I have found that sending emails programmatically, without user intervention, from an iphone application, cannot be implemented using any of the apple frameworks.
Set up a web service you can post to using an HTTP request. If you are posting to only one address this can work very well, although you may want to get the user to input their return mail address.
Otherwise only the standard dialog is available (this relies on using whatever account they've setup on the device).
Here are a few SMTP API's that work on OS X. They might work on iOS as well.
Pantomime
MailCore
EdMessage
Only Possible via Web Interface, you can not hide the Interface , this is as per apple Guidlines to Developer and as per documentation
Looking for a solution to such a problem, I found something interesting here: How to send mail from iphone app without showing MFMailComposeViewController?
I hope this will be useful!
This is standard not possible. If you can't use the standard dialog you need to use SMTP.
SMS is the same, use the dialog of use a webbased sms service (most of these cost some money).
I have no experience with iOS, but I have enough experience with email protocols to say I'd be very surprised if a client application could send email without accessing a server. More than likely, the email will be sent using the SMTP protocol and therefore must be sent using an SMTP server. Choosing how you connect to that server is about the only option you have. You could connect to a server-side script (such as php) to generate and send the email, or you may be able to create a socket and connect directly to port 25 on the SMTP server and still generate the email from you client application.
Check out:
RFC 5321 at https://www.rfc-editor.org/rfc/rfc5321
SMTP on Wikipedia at http://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol
You could always do a low level telnet using SMTP protocol to a known mail server to send a message. I don't know if Apple will reject the app, but SMTP is damned simple.
first of all thanks a lot to all of you for past valuable suggestions,we are creating an application where on certain events wants to send email/sms to specified phone number we already tried with the openURL call but it opens the existing inbuilt email/sms application of the iphone.Our requirement is to send sms/email without opening the inbuilt iphone email/sms application is it possible if yes what are the supported API's to achieve it.
thanks in advance.
You can do this with a short code by way of a SMS/MMS aggregator like OpenMarket or as another person has posted you can use the SMS Gateway but this requires the knowledge of the end users carrier name. If your replying to a SMS on the iPhone I believe you can use the API which in turn would give you the carrier id of the incoming SMS message you would like to reply to.
Maybe you could explain your problem a little more so we can better grasp your question.
You can see my other answer from a similar question. Basically you can send an email to the phone if you know the provider. The provider will then format the email into a SMS message.
I need to write a .NET application that listens to a SMS message , and then react to it.
I assume i need a SMS gateway to interface between my application and the sender of the SMS.
How could i implement this . Would the listening program need to be a web service or something else ?
Please give me your ideas.
Thanks,
Chak
You will need an SMS gateway.
Alot of SMS gateways allow you to send replies from SMS to email. Then all you need to do is retrieve the message via POP and do something.
SharpWebMail is open source. Should be samples of how to do that in there somewhere.
http://csharp-source.net/open-source/web-mail
Hope that helps.
One easy way to do it (if it fits your architecture) is to just simply use a mobile phone and have code on it that intercepts the message and the forwards it to your application.
If you want to use .net, you can use a Windows Mobile phone and use the MessageInterceptor class with .NET Compact Framework. Then, when you have your message, use whatever method you want to forward it to your app (sockets, serial ports, web services, ...).
You first need to find an SMS provider, and then ask them how they integrate. There is no standard way to do this, and everyone use their own approach.
You do at least need something that will receive the SMS for you. That might be a GSM modem or some form of SMS gateway. How you implement the technical part of “receiving an SMS” is specific to the tool you use. You can talk to a GSM modem via serial port (or TCP), SMS gateways often use SMPP or HTTP to transfer SMS.