Retrieve the list of email addresses

Hello

I would like to see list emailaddress, checked a couple forum links, but have not found the correct code. Can someone help me with the code example?

Hi Ben,

We have an entire API dedicated to work with accounts that a user has added to the device. More specifically it has API

To read the list of emails that you want to perform the following procedure:

AccountService as;

QList list = as.accounts (Service::Messages);

Count one;

QString emailAddress;

for (int i = 0; i)< list.size();="">

a = list.at (i);

emailAddress = a.settingsProperty("email_address",Property::Value).toString();)

If (EmailAddress.Size () > 0) {}

A valid, non-empty email account

Process to the need here

}

}

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for

  • Refund of the app

    If I buy an item online or in a store and I don't like, so I can return it. Have I not the same ease with Apps I buy? If not, then why not? I should have a free trial period or a window of 30 days to return it.

  • Mailto doesn't work after updating FF 42.0

    Mailto doesn't work after my last update. The entrance of mailto is not under Tools > Applications and there is no drop-down list to add an entry. My default e-mail program is Windows Live mail.

  • Email closing application

    I have 6 s Iphone and IOS 9.2.1 Email app will remain open only for 5 seconds and then stops? I restarted but does not correct.  Someone at - it fixes?

  • Pavilion DV5 2050CA: upgrade memory does not not about DV5 2050 this laptop computer

    The upgrade of 2 x 4 GB 2x2gb memory does not work. After installing the new memory modules, it starts and the HP Quickweb are visible. As a result, if I try to load Windows 7, he returned to the screen of Quickweb. If I install only these new memori

  • local printer spooler is not running. UGH!

    I get the error that my local printer spooler is not running. I tried everything I can think of.  I upgraded to windows vista and since then, I have had problems.