开发者

Sending an email automatically through my iPhone App

开发者 https://www.devze.com 2023-04-02 04:13 出处:网络
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 launch

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

  1. ask the user for his email address
  2. 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消