iossmtp

Skpsmtpmessage API


My application need to send mail on background without display any mail compose screen so I got suggestion as skpsmtpmessage API. Shall I use this API for my application and any Apple rejection by using this API. I am new to iOS application development so tell me the way to use third party API in application without Apple rejection. Can any one help me?


Solution

  • As Sudha and MarJamRob answered, your app can be rejected if you are sending mails in background but there is a workaround to this.

    You can create a web method which takes the mail ids and content to be mailed as inputs and mails to the intended email ids. Call this method from within your iOS app with appropriate parameters. In this way you can fulfill your purpose without a risk of rejection as your app is not mailing in background but you are only giving a call to remote method!