开发者

Iphone SDK : Send Email in background in iphone app

Iphone sdk : how to send an email in backgrou开发者_高级运维nd from an iphone app.

Based on certain selections made by the user I want to trigger an event to send an email to an admin.

I am aware of the MFMailComposeViewController but this will open the mail composer window which I want to skip.


You will need to use a third party library for that. The SDK doesn't allow you to send emails in the background.

Here's one you can use:

http://code.google.com/p/skpsmtpmessage/


This is an old question, but for anyone coming across it still you can take a look at this post. The accepted answer shows how to send the email in a background using a smtp server. It also includes an image that will "dim" the screen as the email is sent and "brighten" back up after the email is sent. Take a look at the screen shot to see what I mean.

Locking the Fields in MFMailComposeViewController

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜