Mail + IMAP = slow ?!

HI,
Until a couple of days ago I've only used Mail with 6 POP accounts and all was great. Then I decided it might be a good idea to connect to my university's mail server via IMAP (they don't offer POP, I used webmail before). This is when all my problems started:
-- Mail became unresponsive during startup, which would take 10 minutes or so
-- Mail used A LOT of memory (700MB RAM +1.4GB virtual)
-- Mail became unresponsive intermittently for no obvious reason
-- Mail crashed every once in a while
I've disabled that IMAP account for now, but I really wnt to use it. Has anybody ever had a similar problem? And better, knows of a solution?
I have no idea what to look for.

when i added my work imap account to my mac for the first time, the mac become super slow, sometimes unresponsive, mail crashed a few times. this probably went on for a good week, every day the issue becoming less and less acute... until all the emails/mailboxes were indeed synced between mail and the server, now it works like a charm. my issue was the sheer amount of email in my imap account server side, and the time it took for mail to cope with and receive everything. i cannot promise this to be the case for you, but that might very well be the case.
hope this helps

Similar Messages

  • Java.lang.NoSuchMethodException: com.sun.mail.imap.IMAPStore.

    All:
    I have completed the following:
    1. Downloaded the JavaMail 1.4.2 API.
    2. From this downloaded API I had extracted the mail.jar file (timestamp 2009-02-26 13:28) to my C:\Program Files\Tomcat 6.0\lib directory
    3. Downloaded the jaf-1_0_2-upd2 API
    4. From this downloaded API I had extracted the activation.jar file (timestamped 2005-05-07 21:14) also to my C:\Program Files\Tomcat 6.0\lib directory.
    In Eclipse I have created a simple JSP page that calls a POJO that is to read a particular email box using IMAP. In this POJO I have code to set up the Properties, Session and Store objects as such:
    Line 1 Properties properties = System.getProperties();
    Line 2 properties.put("mail.from", "[email protected]");
    Line 3 properties.put("mail.debug","true");
    Line 4 session = Session.getDefaultInstance(properties, null);
    Line 5 session.setDebug(debug);
    Line 6 printData("About to get store object...");
    Line 7 store = session.getStore("imap");
    In eclispe, I click "Debug on Server" and Tomcat starts, begins to display my JSP and then I am dropped on the line of code in my POJO where I set a breakpoint (Line 1). Now I single step through the code. The code throws the following execption when it executes line 7 of the above code :
    (Line 6 ==>) About to get store object...
    DEBUG: getProvider() returning javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc]
    java.lang.NoSuchMethodException: com.sun.mail.imap.IMAPStore.<init>(javax.mail.Session, javax.mail.URLName)
         at java.lang.Class.getConstructor0(Unknown Source)
         at java.lang.Class.getConstructor(Unknown Source)
         at javax.mail.Session.getService(Session.java:782)
         at javax.mail.Session.getStore(Session.java:574)
         at javax.mail.Session.getStore(Session.java:536)
         at javax.mail.Session.getStore(Session.java:515)
         at emailTest.readEmails.processMail(readEmails.java:62)
         at emailTest.readEmails.<init>(readEmails.java:24)
         at org.apache.jsp.emailTest_jsp._jspService(emailTest_jsp.java:94)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         at java.lang.Thread.run(Unknown Source)
    There are no jar files defined in my project's classpath. The only jar file found in the project is in the WEB-INF\lib folder wherein I have a jndi.jar (timstamp 5/5/2009 8:10AM) file.
    I put the activation.jar file and the mail.jar file in my Tomcat.6\lib folder according item 4 of the JavaMail Sessions section of the Apache Tomcat JNDI Resources HOW_TO found here: http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html
    Can anybody please tell me what I need to do to get around this error? Do I perhaps have the wrong versions of one or more jar files?
    FYI: I have also put these same two jar files in my projects classpath and still recevied the same exception. Because I am invoking a POJO from a JSP should these jar files be in my projects classpath in addition to the tomcat\lib directory, or should they only be in the projects' classpath?
    Thanks to all for your time in responding.
    Gary

    bshannon:
    Thank you for your resonse. Your response got me to thinking that my instance of Ecliplse that I had had running yesterday was behaving a little strangely so this morning I closed everything I had running on my workstation and closed down the machine and rebooted. When I finally opend up Eclipse again and ran my JSP program calling my POJO, the code no longer threw the exception. Apparently Eclipse can have its tempermental moments.
    Also, let it be known that while everything is working for me now, I performed a small experiment. I moved the activiation.jar and mail.jar from my project\WEB-INF\lib folder and put them in the the C:\Program Files\Tomcat 6.0\lib directory. Then, when I ran my program I once again recieved the java.lang.NoSuchMethodException error. When I moved these jar files back from the Tomcat diretory to my project\WEB-INF\lib directory, the program worked just fine.
    Thanks again
    Gary

  • Working with Outlook 2011 for Mac, my mails are slow and I can work only on-line, when off-line, mail cannot be opened because it is only partially downloaded. How to solve??

    working with Outlook 2011 for Mac, my mails are slow and I can work only on-line, when off-line, mail cannot be opened because it is only partially downloaded. How to solve??

    Try http://www.microsoft.com/mac/support.

  • Com.sun.mail.imap.IMAPFolder close

    Hi everyone,
    We are using BMC Remedy Email Engine with javamail function.
    Why is the message of ''com.sun.mail.imap.IMAPFolder close' message is indicated in stderr.log file' indicated? BMC and we don't know the reason at all. If someone knows, could you please teach us the error cause?
    The detail is below:
    2008/10/07 1:16:10 com.sun.mail.imap.IMAPFolder close
    SEVERE: A6 NO CLOSE Block size illegal for BPOOL.
    javax.mail.MessagingException: A6 NO CLOSE Block size illegal for BPOOL.;
    nested exception is:
         com.sun.mail.iap.CommandFailedException: A6 NO CLOSE Block size illegal for BPOOL.
         at com.sun.mail.imap.IMAPFolder.close(IMAPFolder.java:1003)
         at com.sun.mail.imap.IMAPFolder.close(IMAPFolder.java:935)
         at com.remedy.arsys.emaildaemon.ReceiverModule.terminateIncommingMailbox(ReceiverModule.java:1837)
         at com.remedy.arsys.emaildaemon.ReceiverModule.doWork(ReceiverModule.java:357)
         at com.remedy.arsys.emaildaemon.ThreadBase.run(ThreadBase.java:268)
         at java.lang.Thread.run(Unknown Source)
    Caused by: com.sun.mail.iap.CommandFailedException: A6 NO CLOSE Block size illegal for BPOOL.
         at com.sun.mail.iap.Protocol.handleResult(Protocol.java:294)
         at com.sun.mail.iap.Protocol.simpleCommand(Protocol.java:316)
         at com.sun.mail.imap.protocol.IMAPProtocol.close(IMAPProtocol.java:926)
         at com.sun.mail.imap.IMAPFolder.close(IMAPFolder.java:1000)
         ... 5 more
    Regards,
    NAKAI

    Hi,
    I'm experiencing a quite similar problem in our BMC Remedy Email Engine. IMAP mail integration that has been working for a long time has suddently quit working and now producing error message as below every second instead. NAKAI - did you find any solution to your problem? Anyone else that has experienced any similar?
    Thanks in advance,
    Daniel
    A94819 NO The request is not supported.;
    nested exception is:
         com.sun.mail.iap.CommandFailedException: A94819 NO The request is not supported.
    javax.mail.MessagingException: A94819 NO The request is not supported.;
    nested exception is:
         com.sun.mail.iap.CommandFailedException: A94819 NO The request is not supported.
         at com.sun.mail.imap.IMAPMessage.loadEnvelope(IMAPMessage.java:1063)
         at com.sun.mail.imap.IMAPMessage.getMessageID(IMAPMessage.java:428)
         at com.remedy.arsys.emaildaemon.ReceiverModule.checkAndSkipStoredMessages(ReceiverModule.java:397)
         at com.remedy.arsys.emaildaemon.ReceiverModule.doWork(ReceiverModule.java:275)
         at com.remedy.arsys.emaildaemon.ThreadBase.run(ThreadBase.java:268)
         at java.lang.Thread.run(Unknown Source)

  • Mail - IMAP folders not showing up in folder list

    I have several mac mail imap folders and a few of them are not showing all imap folder - yet I can use move to folder to move emails to that folder.  Any ideas?

    Check on the IMAP settings (Gmail.com) that Pop is disabled.
    It should be in the IMAP/Mail forwarding section.
    When it is enabled, folders do not show up in mac mail

  • TS3276 Trouble with mail running slow

    My mail is running very slowly and it looks as if I have more messages saved and coming in that I believe I actually have.  I also have a message that reads "connection logging enabled" at the top that seemed to appear about a month ago and I don't know what it means.  Any reason for mail running slow, mail messages duplicating multiple times and for trash not emptying as it should?

    From the Mail menu bar, select
              Window ▹ Connection Doctor
    In the window that opens, uncheck the box marked
              Log Connection Activity

  • Mail Running SLOW!

    Lately, Mail is slow slow slow. When I click on 'get mail', the wheel spins and spins. Eventually one of these things happens:
    -I get a message saying I'm 'offline'
    -I get a message saying something can't connect to some sort of smtp server
    -it spins forever and Ihave to restart the application
    Also, when I try to send mail, often the mail find itself in the Outbox, where it sits and sits and sits, until it finally sends after several minutes.
    I have a cable modem connected directly to the computer.
    I never had these problems with Outlook.
    Any advice?

    Do you have other mail accounts in addition to Gmail? Does the same problem happen with the other accounts as well?
    Verify/repair the startup disk (not just permissions), as described here:
    The Repair functions of Disk Utility: what's it all about?
    In Mail, open Window > Activity Viewer. What do you see Mail doing there while it spins forever?
    Do you have any Mail plug-ins or system utilities that could interfere with Mail? In the Finder, go to each of the following folders (if they exist). What do you see there?
    /Library/StartupItems/
    /Library/LaunchDaemons/
    /Library/LaunchAgents/
    /Library/InputManagers/
    /Library/Mail/Bundles/
    ~/Library/LaunchAgents/
    ~/Library/InputManagers/
    ~/Library/Mail/Bundles/
    To make accurately reporting this information easier, you may open /Applications/Utilities/Terminal, type the following command (you can just copy it here and paste it in Terminal), and press <Return>. You can then copy the output of that command from Terminal and paste it in your reply to this post:
    ls -1 /Library/StartupItems /Library/LaunchDaemons /Library/LaunchAgents /Library/InputManagers /Library/Mail/Bundles ~/Library/LaunchAgents ~/Library/InputManagers ~/Library/Mail/Bundles
    Note: For those not familiarized with the ~/ notation, it refers to the user’s home folder. You can easily locate any of the folders referred to in this post by copying the folder path here, doing Go > Go to Folder in the Finder, and pasting the folder path there.

  • Mail is slow to load -- a fix?

    I have a MacBook Pro running 10.8.4 and Mail 6.5, and lately (but not consistently) Mail is slow to display messages.  At the same time, one of three email account inboxes -- a Google mail account -- began disappearing and reappearing in no discernable pattern.  Neither problem occurs on my iPhone.
    I have already tried Linc Davis' fixes using Go to Folder and Terminal, but to no avail (Thanks anyway, Linc!)
    Help, please!

    I'm having the same type issue.  I'll hear Mail chime and there will be nothing new. 
    I even have rules to make the Dock icon bounce when I receive email from certain people... that will trigger, but no new messages.  Eventually they show up, sometimes hours later, but there was at least one Gmail message that Mail never delivered.  That really has me concerned and looking at alternatives.
    All of this started for me after Apple's patch to fix Mail.

  • Mail imap sfr

    bonjour
    je souhaite configurer un compte mail imap du fournisseur SFR.
    Mail ne propose que la création d'un compte en pop. En modifiant le serveur de réception en imap.sfr.fr, cela ne fonctionne pas.
    Comment créer un compte en imap?

    Bonsoir,
    Sachant que SFR propose avant tout son webmail en POP, je crois (pas sûr, à vérifier) qu'il faut activer le mode IMAP depuis les préférences du webmail, comme dans Gmail ou sur Yahoo! Mail. Une fois l'IMAP activé, on peut configurer un client email pour se synchroniser en IMAP, avec le nom de serveur que tu mentionnes, et normalement le port 143 comme point d'entrée. Je n'ai pas d'adresse en sfr.fr pour tester...

  • Why is Mail so slow on both macbook and my imac?

    I'm not very competant in email technology. I started to use Mail when I got my iMac, but I find it is always very slow and I have  to routinely chase it up-same problem with my Macbook. I find  I end up using live.com.au cos it's always there for me.  I'm happy to accept it's pilot error, but tell me what i do wrong:)

    Do you mean Mail is slow at starting or at showing you that you've got new mail? Because if it's the latter then you can change the frequency it checks if you've got new mail. For me the default was 'every 5 minutes', so you can change it to like 'every minute' or something. Does that solve the problem maybe?

  • Why is Apple Mail so slow?

    I use Apple mail to access my gmail account. Every time I open up this program, there's a circle (similar to the circle you have on the gray screen at start up) next to the inbox icon to indicate that it's loading my mail. It's there for like 10 minutes. Then, when I actually want to check my mail, I click on a new mail and I get the colored circle which indicates that it's thinking. After a while I get fed up and just log on to gmail directly. Is something wrong with my computer or is Apple mail just slow for everybody?

    Did you upgrade to Tiger on this Mac from a previous OS X version, and if so, where you using the Mail.app with the previous OS X version?
    If so, the mbox file structure was changed with Tiger Mail, and when upgrading to Tiger from a previous OS X version, there are some left over mbox files for each mailbox from the previous Mail.app version which are no longer used, but are not deleted after the conversion to the new mbox filing structure for each mailbox is completed.
    If you didn't upgrade to Tiger from a previous OS X version on this Mac, have you tried using the Rebuild Mailbox function on the problem mailboxes? If not, be sure to create a backup of your Mail folder at Home > Library > Mail with the Mail.app quit before doing so before using the Rebuild Mailbox function.

  • Mac Mail IMAP shows read message when already read from other devices

    Mac Mail IMAP is setup on custom domain ([email protected]).  When I open an email message through my iphone it shows it was read.  Then when I go into the mail app on my iMac, it shows the message is unread.  It still shows unread hours later and even when I click the "Get Mail" button
    How do I make it so that Mac mail syncs when I check mail through other devices?
    Thank you

    Open Terminal in Utilties and copy/paste
    This will send the attachment embedded inline. (This works in Snow Leopard, but not sure about Lion. Do a test first. If it doesn't work, just google "send attachment embedded + Lion." You don't actually have to send the message to see how it will appear.)
    defaults write com.apple.mail DisableInlineAttachmentViewing 0
    To reverse the setting, change the 0 to a 1
    However, whether this will work or not will depend on what the e-mail client on the receiver's end does with it.

  • Mac Mail - IMAP setup - Large attachments are corrupt

    Mac Mail - IMAP setup - Large attachments are corrupt
    Attachments open fine in webmail
    Mailbox rebuild does not help
    Appears files over 500k are affected
    Multiple users affected
    Backend is GroupWise 7
    So, I see several posts on this topic, with no solutions.... Is this a known issue according to Apple? If so, can some point me to the official release notes/ bug report??

    I have the same problem. When I look at the message with Entourage, I found out that while under IMAP the attachment is not fully downloaded from the exchange server. Entourage gives you the choice to download this file. When I select, the file comes down and opens OK. I heard that some clients have a max size download setting for IMAP but Mac Mail does not. Anyone know how to get around this?

  • Safari has become very slow the last few days, only on a few programs - google, youtube, wikipedia.  Also mail is slow to send and receive.

    Safari and mail have become slow only the last few days.  Mail is slow to send and receive, but e-mails do come through.  Safari is very slow to load on only a few web sites - google, wikipedia, youtube.  But fine on others.
    OS X  10.6.2
    Safari  4.0.3
    Mail   4.2

    Hi Andy...
    safari, Mac OS X (10.6.3)
    10.6.2 / 4.0.3...
    Whether you are running Mac OS X 10.6.2 or 10.6.3 your system software is completely outdated.
    Click your Apple menu icon top left in your screen. From the drop down menu click Software Update.
    Your Mac OS X needs to be at v10.6.8 / Safari should be 5.1.7
    And make sure there's enough free space on the startup disk to install software updates.
    Right or control click the MacintoshHD icon on your Desktop.
    Click Get Info. In the Get Info window you will see Capacity and Available. Make sure there's a minimum of 15% free disk space.
    edited by:  cs

  • Outgoing mail very slow

    When I send an email. The wheel spins for quite awhile before the message leaves. This is a relatively new problem. I'm not sure if it started when I installed 10.5

    MAC Mail, for some reason, wants a DNS server setting in the network setup.
    Under System Preferences, go to Network and add your DNS numbers for your ISP Server. Get the right numbers from your ISP. I did a search for "DNS" on the ATT/YAHOO member web site.
    This fixes the slow checking and sending of mail....It also fixes problems where mail sends slow and may give Authentication errors.
    I spent many hours on this and finally the answer was posted on this forum.
    Public DNS servers are less likely to be changed. They have been tried and do work. Nobody knows why.
    For Public DNS servers look at.
    http://www.tech-faq.com/public-dns-servers.shtml

Maybe you are looking for

  • How can I 'login' as a different user via ARD?

    It has been too many years and I cannot remember much of anything anymore... My main computer is running the ARD admin app. I have a 'server' that has the client software installed and setup to auto login to my admin account on the 'server'. I can ea

  • Unknown User Name(Server) error

    Got the following error message in Fabric Manager "Unknown User Name(Server)". Any clues to what it might mean? Cheers.

  • Dynamic server lookup

    If I got a server, and on that server, I register some kind of remote object. Later, I initialize the client that should look up this object on the server, but the client doesn't know the address of the server, because in my network, the server could

  • Camera raw where?

    Where do I find camera raw?

  • Still Exception in Thread Main

    The error message is as follows (from earlier post) java.lang.NoClassDefFoundError: DataWatch/Start Exception in thread "main" Everything compiles fine. I have included the code with the correct formatting I've tried the suggestions from my earlier p