当前位置: 动力学知识库 > 问答 > 编程问答 >

iphone - how to make sure email sent

问题描述:

I used MFMailComposeViewController to send email.

It always add the email to email queue.

If my email has large attached file, it will take a long time to send out.

Is there a way to make sure email has been sent?

Welcome any comment

网友答案:

Sadly, no, there is no way to make sure the email has actually been sent.

The best you can do is in mailComposeController:didFinishWithResult:error: in your MFMailComposeViewControllerDelegate check the result is equal to MFMailComposeResultSent, and this will tell you the email is queued to be sent.

分享给朋友:
您可能感兴趣的文章:
随机阅读: