sending SMS in IOS Custome SMS Composer - iphone

I am looking for sending SMS through my iPhone app.
There is a condition , i am not using the default composer of iPhone, i have designed my own design.
There is a text box and send button, so sms should go to the selected respective phone no of phone book.
I have done that with default compose, but i want to go with customize sms composer.
Please help in this case.
Thanks,
Gopal

If you want to use iOS' built-in SMS API, I'm afraid you must also use the built-in message composer (it's part of the package deal). That said, you could always use a third-party SMS gateway, and rather than send the SMS directly from the phone, you could send it via HTTP to the gateway.

Related

How to send mail without showing the mail composer view

I am developing an iPhone application in which I have to send mail to only recipient without showing the MFMailComposer UI view (i.e without user interaction). Can please tell me how to achieve this?
You cannot send Email without user acceptance. But there are a lot of web-services in internet which can send Email. I guess some app uses those services or uses own.
See also How can I send mail from an iPhone application
You can also use the gmail mail facilities into the xcode
For that following to gives much more tutorial and source code here
Reference link
Using openURL method of UIApplication, you can send the mail without using mail composer. For that you should select "mailto" option.

How to know iphone auto sending sms?

programmatically send SMS on the iPhone with out show MFMessageComposeViewController? It's possible? b/c I want to konw when's my phone send sms. I don't want my phone auto sending SMS.
If it's possible, how to know? How to catch that event?
In theory (and assuming the phone is not jailbroken), you cannot send an SMS without user intervention. If sending SMS messages via the API, the user will see the message-compose view controller.
That said, I suppose an app could "bypass" this by sending an HTML request to a third-party SMS gateway (in other words, the iphone is not actually sending the text message, but an external server is).
It's possible, but not using the SMS capability provided by the phone. An app author wanting to send SMS without the usual UI would have to purchase capacity from some third party provider (search for 'SMS provider' to find many such providers). Messages sent that way would cost the app developer money, which is as powerful a disincentive as you can find. They also wouldn't be identified with you.

Is it possible to send a picture message using iPhone SDK?

Is it possible to send an MMS message with a picture using the iPhone SDK? After looking at MFMessageComposeViewController, it doesn't appear to be possible.
Yes thats true there is still no API for sending mms in iphone.But the only option left is to attach the image in mail composer
I think, the iphone has no public API for sending MMS. Only way you can achieve this is to use a providers MMS gateway directly, but this would not work worldwide.
Alternate way to is open SMS interface and let the User choose Image/Video as attachment. Then SMS will automatically be converted into MMS.

Can I send email programmatically in iPhone app?

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.

send mail in background in iPhone

I want to send Email in the background of the application. I dont want to show the MailComposer Dialog box to add all the detail.
So How Can I do so ?
Thanks .
You will need to communicated directly with a specified mail server using a third-party library. If you wish to send the email using the iPhone users email account details, you will have to use Apple's mail composer dialog.
Here's a third party library that will let you send email without the Composer dialog
http://code.google.com/p/skpsmtpmessage/
-t