Sending an email automatically through my iPhone App
I am new to iPhone app development. I have a form that the user can fill out to request additional information about my product. I would like the app to automatically send out the email without launching UI.
I have looked through several posts that have recommended using ASIHTTPRequest
to "Post" data. However most of the posts are dated back to 2009. My question is that using Xcode 4 is there another way of accomplishing the same thing without using ASIHTTPRequest
?
Thanks T!开发者_开发知识库
If you want to send emails without the standard mail composer you have to
- ask the user for his email address
- implement SMTP. And SMTP is more complex than a simple POST to http.
Alternatively you could set up a script on a web server to which you send the mail address you got from the user.
精彩评论