My application needs to send email to friends.
I found that Mail application has much more Email address than the Contact app. In Mail app or MFMessageComposeViewController, I can search for email dress from any mail that contact me before.
My question is how to retrieve those emails address to my app?
Best,
Kong
No you can only acces contact via the Address Book API this is the same API that MFMessageComposeViewController uses.
Apple does not allow any acces to other app's data because of security restrictions.
Related
I have list of emails. And want to send a market campaign through messages on twitter. How it can be done using email list.
This is not possible, as there's no way to look up Twitter accounts via email address in the Twitter API.
I'm creating a service marketplace to offer and ask services.Users can contact each other via inbuilt message module.Here I'm planning to send message in receiver's facebook account to notify the receiver about the new message in marketplace.People often use facebook and occasionally sign in marketplace site or check email.So I want to send a notification message in their facebook.
I went through this tutorial but it doesn't work for me. I think this is outdated as facebook chat API are depreciated.
Is there any other way to send private message to facebook friends. Any suggestion will be appreciated
No, there is no way to send messages to friends. Users have to use the Messenger App or facebook.com.
I'm making an iOS app and the user has to enter their info to register for an account. I'm wanting to make it so that it sends an email to the provided email account with the info that they just entered. But I don't want them to be able to see the email view. Is there a way to send an email in the background in iOS 7? I'm familiar with the SMTP Gmail workaround but I was wondering if there was anything more generic.
There is no documented API available using which you can perform this.
send this detail to your server via web service and than server will send the email using that detail.
Suppose I have an email address that only receives a specific type of email, i.e. an automatically generated receipt email from a transaction.
I would like to build an iOS app to receive the email text from this email address and parse according to a predefined format and display the results. Is it possible to do this without dealing with the email server directly from the app?
Meaning can I for instance piggyback off the native mail client (assuming it is set up to receive pushed email sent to the email address). I tried looking through Apple's docs for iOS but could not find anything useful. Anyone know of something?
3rd party apps have no way to integrate with the Mail app or to make use of any configured mail account the user has setup on the device.
However, you can write an app that can access external email accounts if the user provides all of the usual email account details. The App Store has several 3rd party mail apps that serve as replacements for Apple's Mail app.
If your app is written to work with a specific email account, and not one entered by the user of the app, then you can hardcode all of the account details in the app.
Your app is basically a run of the mill email client. You just have to know how to access IMAP or POP3 accounts, retrieve the emails, and process them as needed.
Again, there is no way your app can intercept or make use of any emails accessed by any email accounts the user has setup for use with the standard Mail app.
There are at least two aspects to your question:
How do I get an email to open in my iOS app?
Put the data in an attachment and see this link
What format can I use in an email attachment to transport persistent
objects?
I've had decent results with NSKeyedArchive as an interchange format. There are lots of other choices, depending on what generates the receipts attachments.
Post a followup with your choices. Good luck!
Is it possibleĀ for my iOS app to access the user's email inbox in the Mail app? I would like to be able to read the emails and save the attachments.
No. Apple doesn't provide an API for that.
However, you're free to ask the user for their mail server settings and then talk directly to an IMAP server, downloading the attachments yourself.
If you have presets for popular email providers (MobileMe, Gmail, Yahoo, etc.) this won't have to be too difficult for most users to deal with.