Count messages in all accounts

Hi all,
I have a puzzle that I need to solve. In short, I've been asked to report the total number of emails in ALL users' accounts (minus emails sitting in trash). It looks like the JavaMail API only allows you to connect to one account at a time, and ONLY if you know the password (using store.connect).
Is that the only way? Is there no way to solve this problem?
Please help!
TIA,
Lucille

896590 wrote:
I'm not asking to read; I'm only asking for a count.That still requires access to that account though.
Look at it like this -- you can do: folder.getMessageCount(). Right? Can you do it without that account's password? If so, your problem is solved. If not, it's because that is a private part of that account that nobody but the account owner has a right to.

Similar Messages

  • TB 27.0.1 (W7) will not "get new messages for all accounts"

    I installed W7 with IE11and downloaded the latest TB (27.0.1) I have added five email accounts (more to be added) and none of them show up in the left pane - only global Inbox and two folders I created. I can get new messages manually one account at a time, but "get new messages for all accounts" (or Shift F5) does nothing. Most of this happed after MS installed well over 100 updates to my W7, but some of my accounts never did show up in the left pane even before the W7 updates. I have reinstalled TB - nothing changes.

    Matt, I thank you for your kind and gracious response (Ok I will say this only once....). Be assured that I would never think of asking your advice again.
    The crux of the matter has been resolved by checking the “Include this server when getting new mail” box in each account’s “Advanced” box under “Server Settings.” Now every time TB checks for new mail (including on startup), the process is displayed in the lower left portion of the window. I wish this had been explained to me more clearly early on.
    Having all accounts in the left pane has become unimportant now that I can see the mail being checked on startup, periodically, and on Shift F5.
    I consider this thread closed.

  • Help me ditch Outlook! Apple Mail doesn't display messages for all accounts. Thoughts?

    I have two IMAP accounts, both GMail. One account always shows messages (Gmail in the screenshot below) but the other usually does not. I've deleted the account, rebuilt it etc and nothing works. When I do get messages to display, as soon as I change folders then go back the messages have disappeared again.
    Both accounts are set up the same way. One the account that is not working (Ruddell Consulting in the screen shot), I see the total unread message count under the Mailboxes window but the sort column and preview windows are blank. When viewing the common inbox I only see mail from one account.
    I'm trying to get rid of Outlook 2011 but with the same account settings in Outlook 2011 both accounts work as expected so I'm stuck with it until I can get this resolved.
    Any thoughts?Thanks!
    Jim

    I found the problem. Or at least a workaround. I use Google Mail and some folders in my Gmail account were causing problems for Apple Mail. I removed the folders and Mail works as it should.

  • On my iPad mini, my inbox number count is over 500 even though the inbox. Is empty. All accounts do this on my iPad but all my other device are fine. Problem showed up two weeks ago???

    On my iPad mini, my inbox number count is over 500 even though the inbox. Is empty. All accounts do this on my iPad but all my other device are fine. Problem showed up two weeks ago???

    Hi Peter,
    Thanks for participating in the Apple Support Communities.
    It sounds like the Mail app on your iPad mini is showing that you have over 500 unread email messages, but your inbox is actually empty.
    There are several steps I'd use to troubleshoot this situation.
    First, restart your iPad to see if it clears up the symtom:
    Restart or reset your iPhone, iPad, or iPod touch - Apple Support
    Press and hold the Sleep/Wake button until the red slider appears.
    Drag the slider to turn your device completely off.
    After the device turns off, press and hold the Sleep/Wake button again until you see the Apple logo.
    If this doesn't correct the behavior, try removing and re-adding the affected email accounts next:
    Get help with Mail on iPhone, iPad, and iPod touch - Apple Support
    Delete the affected email account from your device.
    Tap Settings > Mail, Contacts, Calendars.
    Tap the affected email account.
    Tap Delete Account.
    Add your account again.
    If the same thing happens after re-adding the account, you may need to use the steps below to reinstall iOS. You may want to back up your iPad to iTunes before completing this step.
    Make sure that you have iTunes 12 or later on your computer.
    Put your device in recovery mode.
    When you get the option to restore or update, select Update. This will reinstall iOS without erasing your data.
    From:
    If your iPhone, iPad, or iPod touch doesn't respond or doesn't turn on - Apple Support
    All the best,
    Jeremy

  • I have three iPads and one iPod and one iPhone.  How can I message between them without sending the message to all of them.  You send the message to your email address but all of them are set up und one account.

    I have three iPads and one iPod and one iPhone.  How can I message between them without sending the message to all of them.  You send the message to your email address but all of them are set up under one account.

    You can have a different receiving email in the Messages app on each device : Settings > Messages > Receive At . I'm not sure that there is a different way to have the message only go to one device.

  • Get all new messages does not work on all accounts

    I have several accounts set up. using "Get all new messages" works about 20 percent of the time.
    I have tried "repairing" all folders - no change
    tick to "include this server when getting new email" is greyed out
    All accounts pop off the same server, same isp.
    Used to work - but has got worse and worse over the past year.
    Can't find anyone else on the forums with the exact same issue.

    Check : Make sure all of these are selected for the problem pop mail account
    * Tools > Account Settings > Server Settings
    * select : 'Check for new messages at startup'
    * select : ' check for new messages every eg: 15 minutes
    * select : ' Automatically download new messages'
    * click on OK to save and close account settings.
    If these settings are already selected, then something must be overriding a setting.
    So try this:
    * Tools > Options > Advanced > General tab
    * click on 'Config Editor' button - it will tell you to be careful :)
    * In the top search type: biff
    * look for this line : mail.server.default.download_on_biff;
    * If Value = 'false', double click on that line to toggle the 'False' to 'True' or right click on line and choose 'Toggle'
    * close window - top right X
    * click on OK to save and close 'Options'.

  • TS2755 I have 3 phones on one Icloud account. It has been this way for over a year with no issues. After and update on of the lines started getting text messages from all 3 phones. We fixed the send and receive and it was fixed. It is doing it again.

    I have 3 phones on one Icloud account. They have been this way for over a year. After an update last week one of the phones started getting messages for all of the other lines. We fixed this under the send and receive under settings. It was fine for a few days. Suddenly it started happening again. Yesterday after two hours on the phone I changed my apple id and it is still happening. Before that Verizon had told me to turn off my imessage when that happened I could not get any texts at all from other Iphone users.

    Make 3 different iCloud accounts and use ONLY for iMessage.   That will permanently fix your issue.

  • How to make a virtual view for all the incoming messages from several accounts, just like in Opera Mail?

    I want to have a replication of Opera mail feature. This feature enables you to aggregate all mail items from across all the e-mail accounts into a single virtual aggregated view.
    That is, say, we have 3 different mail accounts. In Mozilla Thunderbird on a daily basis I check if there is something new in the incoming folder for those accs. To do that I click on the corresponding folder for every account. Now, what i want is to click on a single folder where I would have an aggregated virtual view of the incoming folder for all of those 3 accounts. I guess, same thing can be done with different kinds of mails, such as:
    * Unread messages (after having viewed the mail item, it automatically goes straight into "Sent messages" aggregate view, listed below)
    * Read messages
    * Sent messages
    * Spam messages
    * Drafts, etc
    Also there is this cool feature (virtual thing applies here as well) that helps to have a view of all the attachments across all accounts categorized into different descriptions, such as:
    * docs (xls, doc, ppt, etc)
    * images (jpg, png, etc)
    * archives (zip, rar, etc)
    More then that, it would still be better to have labling aggregation view feature across all acounts. That is, if we have marked important several messages in, say, 2 accounts, those should be seen in a single aggregated virtual view under name, say, "Important messages". Same can be said with flags, todos, etc.

    Pop mail accounts can be set up to use a Global Inbox. Imap mail accounts cannot.
    However, there are various 'views' in Thunderbird. I would suggest you try 'Unified'. This creates a visual Inbox containing all Inbox messages with sub folders showing individual Inboxes, so you can still see them separately if required.
    via Menu Bar;
    View > Folders > Unified
    Via Menu icon
    Menu Icon > Folders > Unified.
    This view would show all the 'Important' tagged emails, so you could them sort by Tag.

  • My young kids have ipads and since I updated the software, but they have their own icloud account, predictive text within their messages shows all my contacts from my iphone but the contacts are not listed as their contacts, how do I stop this?

    My young kids have ipads and since I updated the software, but they have their own icloud account, predictive text within their messages shows all my contacts from my iphone but the contacts are not listed as their contacts, how do I stop this?

    I have deleted the iCloud account under my name on their iPads and replaced with their ones. Apple support said yesterday I needed to click the small 'I' by each name as it came up in the TO box and remove it. After doing rid for each contact under each letter of the alphabet it should remove them from latest contacts. Having done this, although I could not remove groups I had sent, I am not convinced they will not return once I have written a few texts, any ideas?

  • HT1199 just starting getting smtp error message on all email accounts, receive emails ok but cannot send

    just starting getting smtp error message on all email accounts, receive emails ok but cannot send

    lisablox,
    Go to mail preferences>accounts>account info tab, make sure the SMTP: is not set to none, from the drop down select your server and click use only this server.
    Also see the following:
    http://support.apple.com/kb/TS3276
    Hope this  helps

  • I upgraded the software on my iphone 4 and now it's downloading every email message from all my accounts (all previously read). 200 at a time. Manual delete is a problem since there are 3500. Suggestions?

    I upgraded the software on my iphone 4 and now it's downloading every email message from all my accounts (all previously read). 200 at a time. Manual delete is a problem since there are 3500. Suggestions?

    Wow, just posting and it seems that there is a solution that is working for me...
    What I've did is I turned off iTunes Match on my iPhone, then turned in on again. Now in my iTunes library on my mac I can get the duplicates to be matched or uploaded to iCloud with a right-click, add to iCloud. iTunes Match starts to check the songs and everything is done correctly. Pretty nice!

  • Get addresses of all messages in an account

    One of my accounts has gone dead and I want to send messages to all the existing address in this account.
    How do I extract these addresses without opening each individual message?
    Jim

    You can try this, although it might be a bit messy:
    Select all the messages in the account.
    Select "Save As..." from the File menu and choose "Raw message source".
    This will save a text file of all the selected messages. One way to get the addresses from that file is this:
    In Terminal, type:
    grep "^From" nameof_archived_messagesfile > ~/Desktop/senders.txt
    You will fill in the name of the file you saved (where it says "nameof_archived_messagesfile") by typing out the path to it, or drag and drop the file into Terminal to have the path automagically inserted for you. The senders.txt file will appear on the Desktop. When you open it, you'll some the dates of these emails and perhaps even a subject line for some, which could be stripped out if the previous command were a bit more refined, but this will get you the info you want.
    Mulder

  • I am in a group chat with like 7 other people who all have smartphones. 6 of the people have iPhones, but the other person has android. I'm wondering if the iMessage works for the other 6, and my text count is only being accounted for by the android.

    I am in a group chat with like 7 other people who all have smartphones. 6 of the people have iPhones, but the other person has android. I'm wondering if the iMessage works for the other 6, and my text count is only being accounted for by the android user. I have a monthly limit of 1000 text so I dont want to go over my plan by being in this group if the iMessage doesnt work because of that one android user.

    Use the trackpad to scroll, thats what it was designed for. The scroll bars automatically disappear when not being used and will appear if you scroll up or down using the trackpad.
    This is a user-to-user forum and most people will post on here if they have problems. You very rarely get people posting to say there update went smooth. The fact is the vast majority of Mountain Lion users will not be experiencing any major problems with the OS, or maybe with apps which are not compatible, but thats hardly Apple's fault if developers don't update their apps.

  • Messages sends message to wrong account despite explicit selection

    All the time I am sending messages to the wrong service for users, even after explicitly selecting to right one. In Messages, I have Google Talk, AIM (for the one person who still uses it, haha), my work Jabber account, and iMessage configured. The problem is when I have accounts for one individual in my Contacts under multiple services. For example, I may have John Doe's Google Talk username, and their phone number which I can iMessage.
    If I open a new message to John Doe on Google Talk, and verify the message has the Google Talk username selected (and states my Google Talk name next to it) in the drop down at the top of the message, when I hit send it will sometimes go to iMessage instead. This is very repeatable. It seems like what happens is Messages switches the new message to whatever account I received a message from John Doe last, despite my explicit selection.
    Needless to say this is very obnoxious, especially since I cannot count on my selections actually being being obeyed.
    Has anyone else experienced this problem, and figured out a way around this bug? I keep hoping Apple will fix it, but I've run into this problem in previous versions of Messages prior to Yosemite being released, but I am still having this maddening issue after the upgrade. I cannot not be the only one.

    I don't always want to use the same one... for example, if they're signed on to Google Talk, I'd like to message them there instead of sending an iMessage to their phone.
    Even if I double click their name in my Google Talk buddy list, it will open saying I am going to message them with Google Talk, but it was switch when I hit send.

  • HT3228 Why is it that when I delete an email message from an account on my iPhone it instantly disappears from the same email account on my wife's iPhone?

    Why is it that when I delete an email message from an account on my iPhone it instantly disappears from the same email account on my wife's iPhone? We both have iOS7 and have imap email accounts.

    not all mail providers sync the send mail part of the mail box
    you can try to contact yahoo if this is the case with them

Maybe you are looking for

  • Oracle Error 1801 - "Date format is too large for internal format"

    We have an application deployed under WebLogic and are using the Oracle JDBC drivers to talk to the DB. It appears that when under heavy load and trying to hit a stored procedure we get "Action:EnrollParticipant,Error type:Application error,doing:wri

  • Problems with parameter

    Hello guys , I have a parameters no modifiable ,but I want to change it to modifiable, I change the name of the parameter already and it works , but i want to know why my parameter p_file have the propierty of no modifiable. ?

  • Is facetime server down

    I cant log into facetime nor imessage...did try again and again and did get a msg that said cant connect to facetime server bla bla bla, then hit next took me out to the logon screen again...is this an issue or just me. Im using ios 6.01.   I get eve

  • Billing data about new sales organization

    Hi,experts,    I create a new sale organizaiton,and config the corresponding configuration,after billing,I can not find the related data using tcode mcsi sales info s903,and I find the table s903 ,there is no data in the table. I don't know where is

  • Spotlight still can't find files that are right in front of me

    Sigh. I'm noticing that Spotlight still cant find files correctly. Maybe I'm the stupid one here, but when I do a search on "This Mac" for a "File Name", and the "Kind" is set to "Folders", and I set the word "Wonder" as the search parameter, how com