开发者

EmailComposerTask - how to detect if email wasn't sent?

I'm using EmailComposerTask to send an email. Is there any way to detect if email wasn't sent for problems like no co开发者_如何转开发nnection, invalid email setting, mail server temporary down etc ? I cannot find any way get this information.


Unfortunately this is not possible. Tasks in WP7 consists of launchers and choosers, the EmailComposerTask is one of the launchers which is defined as being:

A “fire and forget” action, where a specific Windows Phone functionality is launched, for example, sending an SMS message, opening a webpage, or placing a phone call

There is no way to know the result of the action you launched. Source

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜