Iphone SDK : Send Email in background in iphone app

前端 未结 2 1675
谎友^
谎友^ 2020-12-10 07:29

Iphone sdk : how to send an email in background from an iphone app.

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

相关标签:
2条回答
  • 2020-12-10 07:42

    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 讨论(0)
  • 2020-12-10 07:54

    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/

    0 讨论(0)
提交回复
热议问题