How to Only Show Email Inbox through application on IPhone - iphone

I am working on one feature,which sends some information to server and server sends the email.
On the view I have to provide one button i.e Inbox which will open Native Inbox like we access photo library.
So is it doable?
Thanks,
Sagar

As far as I know No. You can send Emails with the MessageUI.framework. But access the email.app no. But try it with a Webservice. You send data and the server sends it immediately back. Not through email.

Related

How to get user informations by email

I'm new in swift programming and I'm working on simple app. However, I was wondering if I can build "Contact us" view controller where the user enters his message and his data sent to me by email. Is it possible?
example:
There are two approaches to send mail from iPhone SDK
You could try MFMailComposeViewController to send an email.
You could set up a web server from where you could send the email with the help of web services.
I’ll suggest building a web service, post this data as a JSON object, make a fancy email at server end and shot it to concerned email id, you have an option to do any additional task.
Like storing a data to db, tagging it specific way and filtering emails from blacklisted email ids.
You can use mail gun or mail trap to help you setup simple way.

Send mail without saving in users sent items

Is it possible to send mail without saving a copy in the user's sent items? I am using MFMessage framework.
NO if you want to use MFMessage framework, it is not possible to send email without sending in user's sent items.
BTW why would you like to do this ? Any way, if you are using user's account, you CANT.
But then if you want an email to be sent, use smtp and other account, that is highly undesirable

Send text message without show message composer or in bckground in iphone

Hi is it possible to send text message in background..?My new requirement is to send SMS if there is no internet connection .
I am trying MFMessageViewComposer but it shows the pop up view.
How can we send message without shown this pop up? Is there any other way to do this things.
It's not allowed. For example, what if I develop an app which send taxed SMS to a server of mine to get money ? That´s the main reason... I could also send innaproriate or SPAM SMS to random numbers...
That's why the user has to validate the sending.
Send SMS programmatically, without the SMS composer window hope that helps... Looks to be a similar question. According to the poster, ios6 does not allow you to send SMS in the background, without using a 3rd party API, like Nexmo, who provide a REST API to send messages using HTTP.
To send a message using Nexmo, just send a request like http://rest.nexmo.com/sms/json?api_key=n3xm0rocks&api_secret=12ab34cd&from=MyCompany20&to=447525856424&text=hello+hd1 and you'll get back JSON, change the endpoint to xml if you prefer that.

Automatic email from iphone application

I have seen some similar questions here on stack-overflow, but in my application i want when user click on confirm button automatic email go to the email id specified in the form with other details.
How can i implement this.
You could just make a post request to a server and have the server then send the email.
You cannot send emails automatically without sending the user to the mail application. You could however, take advantage of a third party service like Amazon Simple Email Service http://aws.amazon.com/ses/ to send the message.

How to send emai using SMTP server in iphone sdk without using Composer Window?

Here In My app, There is a case where User registering a form
He will give his mail id in one textfield. After Complete the form I need to send a mail to User for conformation of his registering.
Any one can help me please.
Thanks In Advance
I don't think its the right way to send email from the phone to the user's email id. You need to process the form at a remote server and it should send the confirmation email which most of the phone apps with user registration do. If you are going to save the user data locally, there will be several problems and the top problem would be rejection of the app from apple.
actually its pretty simple, you just have to connect to mail server and send commands
http://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol