send picture as an attachment via SMS - iphone

I want to send a picture via an iphone app.
How to send the picture as an attachment with the SMS?
How to do that programatically?
Thanks in Advance.

1st a picture will be via MMS, not SMS.
Now, unfortunately I do not know exactly how to do this with images, but I have done it with text before using the "MFMessageComposeViewController" method... I'm sure with google you can find your answer, Good luck!!

Currently, only the recipients and the body can be prepopulated.
You may like to see the ref
Thanks!

Related

how to send email in the background of iphone

I want send an email in the background of iphone. Can anybody help me regarding that?
Take a look at following URLs;
iphone send mail in background when didUpdateToLocation occurs
Article:
Example:
I think, it will help 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.

Attach Local image in MMS in iphone

I have one application in that I convert UIView in the image and send that file as an Email or an MMS. It is possible to send via Email using the addAttachmentData Method, but I can not find a similar solution for MMS.
Is there an MMS solution similar to the Email solution?
There is no way to attach photos to the MMS sheet currently. Right now it is only for the Email sheet.

Programmatically Compose Email using my mail account without configure in iphone's mail client

In My Iphone Application,programmatically i have to sent Email without end user's knowledge (even end user should not know ,program sending email and receiving).if i use MFMailComposeViewController (MessageUI.framework), user need to config and able to see inbox.
I am new to this concept. can you please just give some path to get solution, like which framework or library i need to use in my app for this work. Thanks in advance
Take a look to this smtp library for iPhone
Good luck.

how to send SMS/Email from an application

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.