send email in background from ios

send email in background from ios  using -'objective-c,ios,email'

  Possible Duplicate:
  Possible to send automated email?  

This question has been asked in multiple variations throughout stackoverflow, but I can't quite find one that applies to me or that answers my question.  It seems like it should be more simple but all I want is for my app to send an asynchronous email in the background.  No GUI, no user input, just that when something happens in the model it emails me about it.

Thanks in advance,

asked Sep 16, 2015 by mca.agarwal
0 votes

1 Answer

0 votes

IOS doesn't support to mail in background. You must implement the USer interaction & only clicking over send button will be sending the mail. As an alternate you should implement the WebService for this & you can call it anywhere in you code.

php required:

    $response = array('mail' => false);

echo json_encode($response);
answered Sep 16, 2015 by param.oncemore