How to find whether email configured or not in iOS device

You must Login before you can answer or comment on any questions.

I am using Titanium.UI.createEmailDialog(); to send email. It will be works fine if the email is configured in the device, if suppose there is no email configured with the device means it does not fire any alert or warning. How can I find whether email configured or not?

2 Answers

Accepted Answer

try this one..

if(emailDialog.isSupported()) {
    emailDialog.open();
} else {
    alert('Configure Email.');
}

Your Answer

Think you can help? Login to answer this question!