开发者

iphone send in-app mail automatically

In iPhone programming, there are two ways to send mail. 1. openURL 2. In-App mail u开发者_运维技巧sing messageUI framework.

Using second approach - in-app mail, it will show a view with to address, subject and body of message. Then it will have "Send" and "Cancel" buttons. On click of send button, message will be sent and then it will come back to app.

Now my question is that, is there any possiblity to send mail automatically without showing the view and clicking "send" button?

Because, I want to send 10 custom messages to 10 different email id's one after another. Possible or not?


You will have to build-in your own mail agent code to connect to a mail server, and have the user enter all necessary account credentials into your app (or have your own account built-in).


This is not possible. The message sender interface forces you to allow the user a cancel or send option - this is to prevent apps spamming with the user's account.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜