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)

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

  • Connection timed out: connect at com.sun.mail.imap.IMAPStore.protocolConne

    Hi ,
    Recently, my team need to work with javamail. Here I got a problem: when I run the application in my personal home network , it goes on very well. When I run the program in my company env, it gives error info:
    Exception in thread "main" javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465;
    nested exception is:
    java.net.ConnectException: Connection timed out: connect
    at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1706)
    at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:525)
    at javax.mail.Service.connect(Service.java:313)
    The resource is :
    import java.security.Security;
    import java.util.Date;
    import java.util.Properties;
    import javax.mail.Authenticator;
    import javax.mail.Message;
    import javax.mail.MessagingException;
    import javax.mail.PasswordAuthentication;
    import javax.mail.Session;
    import javax.mail.Transport;
    import javax.mail.internet.AddressException;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeMessage;
    *Use Gmail
    public class GmailSender {
    public static void main(String[] args) throws AddressException, MessagingException {
    Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    final String SSL_FACTORY = "javax.net.ssl.SSLSocketFactory";
    // Get a Properties object
    Properties props = System.getProperties();
    //Add proxy for GmailSender
    //especially here, I am not sure whether the proxy really works. In home network, it needn't proxy to run successfully.
    // props.setProperty("proxySet","true");
    // props.setProperty("socksProxyHost","148.87.19.20"); // This IP address is our proxy server address
    // props.setProperty("socksProxyPort","80");
    props.setProperty("mail.smtp.host", "smtp.gmail.com");
    props.setProperty("mail.smtp.socketFactory.class", SSL_FACTORY);
    props.setProperty("mail.smtp.socketFactory.fallback", "false");
    props.setProperty("mail.smtp.port", "465");
    props.setProperty("mail.smtp.socketFactory.port", "465");
    props.put("mail.smtp.auth", "true");
    final String username = "XXX";
    final String password = "XXX";
    Session session = Session.getDefaultInstance(props, new Authenticator(){
    protected PasswordAuthentication getPasswordAuthentication() {
    return new PasswordAuthentication(username, password);
    // -- Create a new message --
    Message msg = new MimeMessage(session);
    // -- Set the FROM and TO fields --
    msg.setFrom(new InternetAddress(username + "@gmail.com"));
    msg.setRecipients(Message.RecipientType.TO,
    InternetAddress.parse("[email protected]",false));
    msg.setSubject("Hello");
    msg.setText("How are you");
    msg.setSentDate(new Date());
    Transport.send(msg);
    System.out.println("Message sent.");
    Will you please help me to review my code and give me some suggestions ?

    No point looking at the code. The error message says the code can't connect to the server you are trying to connect to, so presumably there's a firewall or something like that preventing the connection. Talk to your network people.

  • NullPointerException in com.sun.mail.iap.Response.parse

    Hey all. I am accessing an IMAP mail server from Solaris 8 using java 1.5.0-08, but I intermittently get the following exception:
    java.lang.NullPointerException
            at com.sun.mail.iap.Response.parse(Response.java:130)
            at com.sun.mail.iap.Response.<init>(Response.java:87)
            at com.sun.mail.imap.protocol.IMAPResponse.<init>(IMAPResponse.java:48)
            at com.sun.mail.imap.protocol.IMAPResponse.readResponse(IMAPResponse.java:122)
            at com.sun.mail.imap.protocol.IMAPProtocol.readResponse(IMAPProtocol.java:230)
            at com.sun.mail.iap.Protocol.command(Protocol.java:263)
            at com.sun.mail.iap.Protocol.simpleCommand(Protocol.java:310)
            at com.sun.mail.imap.protocol.IMAPProtocol.close(IMAPProtocol.java:926)
            at com.sun.mail.imap.IMAPFolder.close(IMAPFolder.java:1000)
            at com.sun.mail.imap.IMAPFolder.close(IMAPFolder.java:935)Any thoughts of what I am doing wrong?

    I'm just looking for more data to get
    a handle on the problem.I ran my program again, and got a NPE on another email. It is also big...
    A479 FETCH 856 (BODY[])
    * 856 FETCH (BODY[] {26497359}
    Return-Path: <[email protected]>
    ... some of the body ...
    BTW, the ebinder subcollection is not in the select list. Do I have to configure
    or create another foA480 CLOSE
    DEBUG: added an Authenticated connection -- size: 1
    java.lang.NullPointerException
            at com.sun.mail.iap.Response.parse(Response.java:130)
            at com.sun.mail.iap.Response.<init>(Response.java:87)
            at com.sun.mail.imap.protocol.IMAPResponse.<init>(IMAPResponse.java:48)
            at com.sun.mail.imap.protocol.IMAPResponse.readResponse(IMAPResponse.java:122)
            at com.sun.mail.imap.protocol.IMAPProtocol.readResponse(IMAPProtocol.java:230)
            at com.sun.mail.iap.Protocol.command(Protocol.java:263)
            at com.sun.mail.iap.Protocol.simpleCommand(Protocol.java:310)
            at com.sun.mail.imap.protocol.IMAPProtocol.close(IMAPProtocol.java:926)
            at com.sun.mail.imap.IMAPFolder.close(IMAPFolder.java:1000)
            at com.sun.mail.imap.IMAPFolder.close(IMAPFolder.java:935)
    A481 LIST "" shared
    java.lang.NullPointerException
            at com.sun.mail.iap.Response.parse(Response.java:130)
            at com.sun.mail.iap.Response.<init>(Response.java:87)
            at com.sun.mail.imap.protocol.IMAPResponse.<init>(IMAPResponse.java:48)
            at com.sun.mail.imap.protocol.IMAPResponse.readResponse(IMAPResponse.java:122)
            at com.sun.mail.imap.protocol.IMAPProtocol.readResponse(IMAPProtocol.java:230)
            at com.sun.mail.iap.Protocol.command(Protocol.java:263)
            at com.sun.mail.imap.protocol.IMAPProtocol.doList(IMAPProtocol.java:799)
            at com.sun.mail.imap.protocol.IMAPProtocol.list(IMAPProtocol.java:776)
            at com.sun.mail.imap.IMAPFolder$1.doCommand(IMAPFolder.java:429)
            at com.sun.mail.imap.IMAPFolder.doProtocolCommand(IMAPFolder.java:2387)
            at com.sun.mail.imap.IMAPFolder.doCommand(IMAPFolder.java:2332)
            at com.sun.mail.imap.IMAPFolder.exists(IMAPFolder.java:427)
    ... lots of these ...
    A490 LIST "" shared
    rm or resource or something to solve this problem? please
    advice.
    (See attached file: private-xml.rtf)(See attached file: private-html.rtf)(See
    ... more body from the first email ...And this process of getting little chunks of data seems to continue on, interspersed with NPEs. It looks like some connection is not being closed.

  • IMAPFolder.doCommand() com.sun.mail.iap.BadCommandException

    I'm attempting to run "SEARCH ALL" on my INBOX using IMAPFolder.doCommand(). I'm using the api documentation at http://java.sun.com/products/javamail/javadocs/com/sun/mail/imap/IMAPFolder.html#doCommand as a starting point, I was able to run the IMAP NOOP example in the api documentation without any errors. But when I try to run 'SEARCH ALL'
                        folder.open(Folder.READ_ONLY);
                        IMAPFolder f = (IMAPFolder) folder;
                        Object val = f.doCommand(new IMAPFolder.ProtocolCommand() {
                            public Object doCommand(IMAPProtocol p)
                                    throws ProtocolException {
                                // Issue command
                                Argument args = new Argument();
                                args.writeString("ALL");
                                Response[] r = p.command("SEARCH ", args);
                                Response response = r[r.length - 1];
                                // Grab response
                                if (response.isOK()) { // command successful
                                    for (int i = 0, len = r.length; i < len; i++) {
                                        if (!(r[i] instanceof IMAPResponse)) {
                                            continue;
                                        IMAPResponse ir = (IMAPResponse) r;
    if (ir.keyEquals("SEARCH")) {
    String num;
    while ((num = ir.readAtomString()) != null) {
    System.out.print(num + " ");
    p.notifyResponseHandlers(r);
    p.handleResult(response);
    return null; //just a test, don't need a return value
    I get the errorjavax.mail.MessagingException: A10 BAD Invalid Search criteria;
    nested exception is:
         com.sun.mail.iap.BadCommandException: A10 BAD Invalid Search criteria
         com.sun.mail.imap.IMAPFolder.doCommand(IMAPFolder.java:2571)
         quota.db.QuotaDB.dumpFolder(QuotaDB.java:288)
         quota.db.QuotaDB.getMailboxInfo(QuotaDB.java:206)
         quota.db.QuotaDB.getQuotaInfo(QuotaDB.java:110)
         quota.actions.GetFolderInfoAction.execute(GetFolderInfoAction.java:74)
    Looking through my mailserver's logs does not provide any clues as to the cause of this error.  Any advice?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    mowmowmow wrote:
    Looking through my mailserver's logs does not provide any clues as to the cause of this error. Any advice?Apparently your server considers ALL to be an invalid search criteria.

  • Error while connecting to Microsoft Exchange server using javamail: "com.sun.mail.util.MailConnectException: Couldn't connect to host, port: host name , 993; timeout -1"

    I am trying to read mails from my outlook microsoft exchange server. Following is the code:
    public void readEmailsFromOutlook(/*String host, String username, String password*/ ) throws MessagingException, IOException {
          String host = "hostname";
          String username = "domain\\username";
          String password = "password"
          // Create empty properties
          Properties props = System.getProperties();
          props.setProperty("mail.smtp.auth","true");
          props.setProperty("mail.store.protocol","imaps");
          props.setProperty("mail.imap.auth.plain.disable","true");
          props.setProperty("mail.imap.host",host);
          props.setProperty("mail.imap.port","993");
          props.setProperty("mail.imap.user",username);
          props.setProperty("mail.imap.pwd",password);
          props.setProperty("mail.imap.debug","true");
          props.setProperty("mail.imap.ssl.protocols","SSL");
          props.setProperty("mail.imap.socketFactory.class", "javax.net.ssl.SSLSocketFactory");
          props.setProperty("mail.imap.socketFactory.fallback", "false");
          props.setProperty("mail.imap.socketFactory.port", "993");
          // Get session
                     Session session = Session.getInstance(props, new ExchangeAuthenticator(username, password));
          session.setDebug(true);
          // Get the store
          Store store = session.getStore("imaps");
          //Store store = session.getStore();
          store.connect(host, username, password);
          // Get folder
          Folder folder = store.getFolder("INBOX");
          folder.open(Folder.READ_ONLY);
          BufferedReader reader = new BufferedReader(new InputStreamReader(
              System.in));
          // Get directory
          Message message[] = folder.getMessages();
          for (int i = 0, n = message.length; i < n; i++) {
            System.out.println(i + ": " + message[i].getFrom()[0] + "\t"
                + message[i].getSubject());
            System.out.println("Read message? [YES to read/QUIT to end]");
            String line = reader.readLine();
            if ("YES".equalsIgnoreCase(line)) {
              System.out.println(message[i].getContent());
            } else if ("QUIT".equalsIgnoreCase(line)) {
              break;
          // Close connection
          folder.close(false);
          store.close();
    But it threw the following error:
    DEBUG: setDebug: JavaMail version 1.5.1
    DEBUG: getProvider() returning javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Oracle]
    DEBUG IMAPS: mail.imap.fetchsize: 16384
    DEBUG IMAPS: mail.imap.ignorebodystructuresize: false
    DEBUG IMAPS: mail.imap.statuscachetimeout: 1000
    DEBUG IMAPS: mail.imap.appendbuffersize: -1
    DEBUG IMAPS: mail.imap.minidletime: 10
    DEBUG IMAPS: trying to connect to host <hostname>,port 993, isSSL true
    com.sun.mail.util.MailConnectException: Couldn't connect to host, port: 10.75.250.60, 993; timeout -1;
      nested exception is:
    java.net.ConnectException: Connection refused: connect
    at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:693)
    at javax.mail.Service.connect(Service.java:345)
    at javax.mail.Service.connect(Service.java:226)
    at com.capgemini.utilities.Utilities.readEmailsFromOutlook(Utilities.java:1261)
    Whats wrong with my code?
    Please help!!!!

    You're using the "imaps" protocol, but you've set properties for the "imap" protocol.  Change all the property names from mail.imap.* to mail.imaps.*.
    Also, get rid of all the socket factory properties.
    If you still can't connect, see these connection debugging tips.
    Most likely you're using the wrong host name or port number.  In almost all cases, it's better to just let JavaMail choose the correct port number.

  • Java.lang.NullPointerException at com.sun.mail.iap.Response.parse

    I am getting this error when I try to download a message using IMAP from exchange server
    java.lang.NullPointerException
         at com.sun.mail.iap.Response.parse(Response.java:99)
         at com.sun.mail.iap.Response.<init>(Response.java:68)
         at com.sun.mail.imap.protocol.IMAPResponse.<init>(IMAPResponse.java:31)
         at com.sun.mail.imap.protocol.IMAPResponse.readResponse(IMAPResponse.java:105)
         at com.sun.mail.imap.protocol.IMAPProtocol.readResponse(IMAPProtocol.java:153)
         at com.sun.mail.iap.Protocol.command(Protocol.java:215)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetch(IMAPProtocol.java:882)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetch(IMAPProtocol.java:874)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetchBody(IMAPProtocol.java:656)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetchBody(IMAPProtocol.java:645)
    This error occurs intermittantly. I placed one large mail (around 600 MB) and few normal size mails on exchange server. In few testing runs, this error occured while downloading the large mail as well as one normal mail. In one test run, all mails got downloaded successfully.
    Could anyone please suggest the cause and resolution?
    Thanks.

    I turned on the session debugging. I am running my application on Linux, so the debugging info was moved to a log file. This log file is very large (around 1GB) and I am unable to open it.
    One more thing: I am trying Message.writeTo() method to download the message. If an OutOfMemoryError occurs, I catch it and try to download the message using GetInputStream. NullPointerException is occuring in both the cases.
    Exception stack trace with writeTo():
    java.lang.NullPointerException
         at com.sun.mail.iap.Response.parse(Response.java:99)
         at com.sun.mail.iap.Response.<init>(Response.java:68)
         at com.sun.mail.imap.protocol.IMAPResponse.<init>(IMAPResponse.java:31)
         at com.sun.mail.imap.protocol.IMAPResponse.readResponse(IMAPResponse.java:105)
         at com.sun.mail.imap.protocol.IMAPProtocol.readResponse(IMAPProtocol.java:153)
         at com.sun.mail.iap.Protocol.command(Protocol.java:215)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetch(IMAPProtocol.java:882)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetch(IMAPProtocol.java:874)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetchBody(IMAPProtocol.java:656)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetchBody(IMAPProtocol.java:645)
         at com.sun.mail.imap.IMAPMessage.writeTo(IMAPMessage.java:536)
    Exception stack trace with getInputStream():
    java.lang.NullPointerException
         at com.sun.mail.iap.Response.parse(Response.java:99)
         at com.sun.mail.iap.Response.<init>(Response.java:68)
         at com.sun.mail.imap.protocol.IMAPResponse.<init>(IMAPResponse.java:31)
         at com.sun.mail.imap.protocol.IMAPResponse.readResponse(IMAPResponse.java:105)
         at com.sun.mail.imap.protocol.IMAPProtocol.readResponse(IMAPProtocol.java:153)
         at com.sun.mail.iap.Protocol.command(Protocol.java:215)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetch(IMAPProtocol.java:882)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetch(IMAPProtocol.java:874)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetchBody(IMAPProtocol.java:653)
         at com.sun.mail.imap.protocol.IMAPProtocol.peekBody(IMAPProtocol.java:637)
         at com.sun.mail.imap.IMAPMessage.loadHeaders(IMAPMessage.java:1055)
         at com.sun.mail.imap.IMAPMessage.getAllHeaders(IMAPMessage.java:642)
    First I try to download the headers in case of an OutOfMemoryError. The above trace shows that.
    Could anyone point out the problem and help resolving it?

  • Java.lang.NoSuchMethodError: com.sun.mail.util.SocketFetcher.getSocket

    I am recieving the above error in a FileNet Content Manager environment. The full stack trace is:
    Exception in thread "main" java.lang.NoSuchMethodError: com.sun.mail.util.SocketFetcher.getSocket(Ljava/lang/String;ILjava/util/Properties;Ljava/lang/String;Z)Ljava/net/Socket;
    at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1195)
    at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:322)
    at javax.mail.Service.connect(Service.java:233)
    at javax.mail.Service.connect(Service.java:134)
    at javax.mail.Service.connect(Service.java:86)
    at javax.mail.Transport.send0(Transport.java:162)
    at javax.mail.Transport.send(Transport.java:80)
    at com.bearingpoint.utilities.EMail.send(EMail.java:171)
    at com.bearingpoint.utilities.EMail.send(EMail.java:31)
    at email.main(email.java:11)
    I have spent many hours, fiddling with classpaths, ensuring that the mail.jar, mailapi.jar, smtp.jar, activation.jar are all from the same generation of JavaMail. With my classpath set correctly I can run a simple program constructed to just test whether the box can send out email from the command line.
    The code for the program is:
    public class email {
         public email() {
         public static void main (String args[]) {
              try {
              EMail.send("10.132.147.62", "[email protected]", "[email protected]", "test", "test");
              catch (Exception e) {
                   System.err.println(e.toString());
    Where EMail.send() is:
    public static void send(
    String mail_server_host,
    String email_from,
    String email_to,
    String subject,
    String message) throws AddressException, MessagingException, IOException {
    send(mail_server_host,
    (Authenticator)null,
    new InternetAddress[] {new InternetAddress(email_from)},
    new InternetAddress[] {new InternetAddress(email_to)},
    (InternetAddress[])null,
    (InternetAddress[])null,
    subject,
    message,
    null,
    null);
    which calls:
    public static void send(
    String mail_server_host,
    Authenticator authenticator,
    InternetAddress[] addresses_from,
    InternetAddress[] addresses_to,
    InternetAddress[] addresses_cc,
    InternetAddress[] addresses_bcc,
    String subject,
    String message,
    InputStream[] attachments,
    MimeType[] attachmentTypes) throws MessagingException,IOException {
    Properties properties = new Properties();
    properties.put("mail.smtp.host", mail_server_host);
    MimeMessage msg = new MimeMessage(
    Session.getInstance(properties, authenticator));
    msg.addFrom(addresses_from);
    msg.setRecipients(Message.RecipientType.TO, addresses_to);
    msg.setRecipients(Message.RecipientType.CC, addresses_cc);
    msg.setRecipients(Message.RecipientType.BCC, addresses_bcc);
    msg.setSubject(subject);
    BodyPart bpBody = new MimeBodyPart();
    bpBody.setText(message);
    Multipart mpMessageBody = new MimeMultipart();
    if (attachments == null && attachmentTypes == null) {
    mpMessageBody.addBodyPart(bpBody);
    msg.setContent(mpMessageBody);
    else if (attachments == null) {
    bpBody.setContent(message, attachmentTypes[0].toString());
    mpMessageBody.addBodyPart(bpBody);
    msg.setContent(mpMessageBody);
    else {
    mpMessageBody.addBodyPart(bpBody);
    for (int i=0; i<attachments.length;i++) {
    bpBody = new MimeBodyPart();
    DataSource dsAttachment = new ByteArrayDataSource(attachments, attachmentTypes[i].toString());
    bpBody.setDataHandler(new DataHandler(dsAttachment));
    bpBody.setFileName("attachment." + new MimeFileExtensions(attachmentTypes[i].getValue()).toString());
    mpMessageBody.addBodyPart(bpBody);
    msg.setContent(mpMessageBody);
    Transport.send(msg);
    As said before all .jar files are of the same generation, yet when I run FileNet and the underlying content engine, and try to send an email, I recieve this exception. I have run out of ideas, and any help would be appreciated.
    Things I've tried (multiple times):
    - Removing any old versions of the jar files and replace them with JavaMail 1.3.3_01
    - Have the content engine specifically import the JavaMail jar files.
    While I realize some of you may not know what FileNet is, perhaps you have come across this exception before. Any new ideas would be more then appreciated.
    Thank you for your time.

    I haven't seen this error before so I need more detail to reproduce it.
    It looks like you daisy chained calls to various static send() methods from various classes. Could you write a static main() for the class with the send() method actually doing the work? In the main() write the test case and compile it, test it and if it still doesnt work post it. Please include the import statements as it is germain to the solution.
    Its much easier for me to help you if I don't have to recreate "FileNet" to reproduce your error.
    As an alternative....
    The following code I got from: http://javaalmanac.com/egs/javax.mail/SendApp.html?l=new
    its simpler than you're code but gets the job done (without attachments).
    I've tested it and it works with:
    javac -classpath .;c:\sun\appserver\lib\j2ee.jar;c:\sun\appserver\lib\mail.jar SendApp.java
    java -classpath .;c:\sun\appserver\lib\j2ee.jar;c:\sun\appserver\lib\mail.jar SendApp
    Ran on Windows XP, Sun J2EE 1.4/Appserver Bundle
        import java.io.*;
        import javax.mail.*;
        import javax.mail.internet.*;
        import javax.activation.*;
        public class SendApp {
            public static void send(String smtpHost, int smtpPort,
                                    String from, String to,
                                    String subject, String content)
                    throws AddressException, MessagingException {
                // Create a mail session
                java.util.Properties props = new java.util.Properties();
                props.put("mail.smtp.host", smtpHost);
                props.put("mail.smtp.port", ""+smtpPort);
                Session session = Session.getDefaultInstance(props, null);
                // Construct the message
                Message msg = new MimeMessage(session);
                msg.setFrom(new InternetAddress(from));
                msg.setRecipient(Message.RecipientType.TO, new InternetAddress(to));
                msg.setSubject(subject);
                msg.setText(content);
                // Send the message
                Transport.send(msg);
            public static void main(String[] args) throws Exception {
                // Send a test message
                send("10.1.4.105", 25, "[email protected]", "[email protected]",
                     "test", "test message.");
        }

  • Com.sun.mail.smtp.SMTPAddressFailedException: 450

    Hello!
    I have problem with sending message.
    My code is:
              Properties props = new Properties();
              props.put("mail.smtp.host", "mail.my.pl");
              Session session = Session.getDefaultInstance(props, null);
              MimeMessage message = new MimeMessage(session);
              message.setText("message text");
              message.setSubject("message subject");
              Address addressFrom = new InternetAddress("[email protected]");
              Address addressTo = new InternetAddress("[email protected]");
              message.setFrom(addressFrom);
              message.addRecipient(Message.RecipientType.TO, addressTo);
              Transport.send(message);When I try to send this message, I get this Exception:
    13:36:09,500 INFO [STDOUT] javax.mail.SendFailedException: Invalid Addresses;
    nested exception is:
         com.sun.mail.smtp.SMTPAddressFailedException: 450 <frodo>: Helo command rejected: Host not found
    13:36:09,500 INFO [STDOUT]      at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1196)
    13:36:09,500 INFO [STDOUT]      at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)
    13:36:09,500 INFO [STDOUT]      at javax.mail.Transport.send0(Transport.java:169)
    13:36:09,500 INFO [STDOUT]      at javax.mail.Transport.send(Transport.java:98)
    13:36:09,500 INFO [STDOUT]      at pl.spot.onecom.onebox.web.action.SendMailAction.execute(SendMailAction.java:72)
    Please, help me! The host, mail.my.pl, exist, but I get message that this host cant be found. What is going on?

    I think we need to see the entire protocol trace (read the FAQ).
    This FAQ entry might also explain your problem:
    http://java.sun.com/products/javamail/FAQ.html#helo
    I suspect the name of your machine is "frodo", but when
    your machine sends that name in the SMTP HELO command,
    the server doesn't know of a machine by that name. You
    probably need a fully qualified host name in the HELO command,
    a name that the server can look up and find the IP address for.

  • The meaning of com.sun.mail.smtp.SMTPAddressFailedException: 550

    Hello experts,
    I am new to JavaMail and does anyone of you know what the exception "com.sun.mail.smtp.SMTPAddressFailedException: 550 Please configure your mail client to use authentication." means or under which circumstance will it occur?
    Thanks a lot!
    Michael

    Hi bshannon,
    Thanks for the reply!
    However, in the FAQ, although it has an entry about 550 error, it is only for "Unable to relay for my-address". So could you shed some light on what exactly the "Please configure your mail client to use authentication" message means?
    In addition, what is the 550 error generally about?
    Thanks a lot!
    Best regards,
    Michael

  • Com.sun.mail.smtp.SMTPAddressFailedException 550 5.1.1 mailbox not exist

    Hi. I am trying to send a fax . But i am getting this error.Why?
    com.sun.mail.smtp.SMTPAddressFailedException 550 5.1.1 mailbox<faxno> does not exist.

    You need to ask your server administrator. The error message comes from the server.
    It seems to be telling you that either the fax number you're using, or the syntax you used
    to specify it, are incorrect.

  • Com.sun.mail.smtp.SMTPSendFailedException: 454 5.7.3 Client does not have p

    Hi I am getting the above error while sending mail through the smtp using mail.jar.
    Please suggest the reason for this error and how to rectify this.
    Aravind

    Your client does not have permission to send on the SMTP server.
    Note: Don't spam!

  • Com.sun.mail.smtp.SMTPSendFailedException: [EOF]

    We are seeing this error since going to ColdFusion 10 enterprise. We have installed all the updates. Server is Windows 2008 64-bit with all the latest updates applied.
    This appears to be very random, but it is causing some headaches with the mail spool. If 10 emails are in the queue, 9 will go out and 1 will go to undelivr even though all the parameters are the same. We move the file back to the spool and it goes through.
    Right now I am dedicating a resource to monitor the spool so all emails go out (we send out hundreds per day from our app) but we need some type of resolution. Any help is appreciated!

    I am having the exact same issue. I have not been able to identify the cause. The only thing I can add in my case is it seems to happen at certain times of the day when our mail firewall spam filter is in heavy use. All messages that are put into the undelivered folder go through 100% when they are re-spooled.

  • JpegImagesToMovie--com.sun.media.processor.unknown.Handler

    hi,
    I get the following error with JpegImagesToMovie.
    It seem same as:
    http://onesearch.sun.com/search/highlight/index.html?url=http%3A%2F%2Fforum.java.sun.com%2Fthread.jspa%3FforumID%3D28%26threadID%3D585235&fterm=JpegImagesToMovie
    But look like no answer!
    C:\>java JpegImagesToMovie -w 320 -h 240 -f 1 -o file:/c:/test.mov file:/c:/k1.jpg file:/c:/k2.jpg
    - create processor for the image datasource ...
    Setting the track format to: JPEG
    - create DataSink for: file:/c:/test.mov
    start processing...
    - reading image file: file:/c:/k1.jpg
    - reading image file: file:/c:/k2.jpg
    Done reading all images.
    Exception in thread "JMF thread: SendEventQueue: com.sun.media.processor.unknown.Handler" java.lang.NullPointe
    rException
    at com.sun.media.multiplexer.video.QuicktimeMux.writeVideoSampleDescription(QuicktimeMux.java:936)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeSTSD(QuicktimeMux.java:925)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeSTBL(QuicktimeMux.java:905)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeMINF(QuicktimeMux.java:806)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeMDIA(QuicktimeMux.java:727)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeTRAK(QuicktimeMux.java:644)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeMOOV(QuicktimeMux.java:582)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeFooter(QuicktimeMux.java:519)
    at com.sun.media.multiplexer.BasicMux.close(BasicMux.java:142)
    at com.sun.media.BasicMuxModule.doClose(BasicMuxModule.java:172)
    at com.sun.media.PlaybackEngine.doClose(PlaybackEngine.java:872)
    at com.sun.media.BasicController.close(BasicController.java:261)
    at com.sun.media.BasicPlayer.doClose(BasicPlayer.java:229)
    at com.sun.media.BasicController.close(BasicController.java:261)
    at JpegImagesToMovie.controllerUpdate(JpegImagesToMovie.java:196)
    at com.sun.media.BasicController.dispatchEvent(BasicController.java:1254)
    at com.sun.media.SendEventQueue.processEvent(BasicController.java:1286)
    at com.sun.media.util.ThreadedEventQueue.dispatchEvents(ThreadedEventQueue.java:65)
    at com.sun.media.util.ThreadedEventQueue.run(ThreadedEventQueue.java:92)

    The basic problem is that this program, like all of the JMF examples, is very haphazardly coded. From what I can gather somewhere in the excecution of the program there was a major thread conflict. JMF is not thread safe and requires the use of wait for state methods. In all honesty, I have never had a sample program compile and run succesfully as is. I think it would just be easier to re-write this code, except this time use the StateHelper class which can be found in the JMF guide. The StateHelper class manages all of the Player and Processor threads so you don't have to worry about it. I wish I could be of more help here but I think this is just a case of some sloppy code.

  • Apple Mail, IMAP messages are mangled

    I have just connected to my IMAP account with Apple Mail. It appears that there is an encoding problem. (It was using Outlook for Mac before because of work obligations, but I'd really prefer to use Apple Mail.) These messages still look okay in the message view of the IMAP account through Outlook for Mac (2011 v14.2.3), but all the messages seem to mangled as far as Webmail (Roundcube) or Apple Mail (v5.2) are concerned.
    I can't find any IMAP setting options in stupid Microsoft Outlook for Mac. Does anyone know if there's one in Apple Mail that might allow me to use these emails? I'm happy to provide more info, it's really bugging me.
    All my messages look like this (source below as well):
    €------------------------------------------
    €e€c€a€u€s€e€ €s€h€e€ €h€a€s€ €n€o€ €i€n€t€e€n€t€i€o€n€ €o€f€ €d€r€i€v€i€n€g€ €t€h€e€ €v€e€h€i€c€l€e€.€



    € €



    €T€h€e€r€e€f€o€r€e€ €t€h€e€ €o€n€l€y€ €d€r€i€v€e€r€ €w€i€l€l€ €b€e€ €m€e€,€ €s€o€ €w€h€y€ €c€a€n€ t€ €I€ €t€a€k€e€ €t€h€e€ €c€o€v€e€r€?€



    € €



    €R€e€g€a€r€d€s€,€ €G€e€o€f€f€



    € €



    €F€r€o€m€:€ €K€e€n€d€r€a€ €K€n€i€g€h€t€ €[€m€a€i€l€t€o€:€k€e€n€d€r€a€k€@€g€r€a€h€a€m€k€n€i€g€h€t€.€c€o€m€.€a€u€]€ €

    €S€e€n€t€:€ €W€e€d€n€e€s€d€a€y€,€ €1€1€ €N€o€v€e€m€b€e€r€ €2€0€0€9€ €1€2€:€1€6€ €P€M€

    €T€o€:€ €'€G€e€o€f€f€ €C€o€n€s€t€a€n€t€i€n€e€'€

    €S€u€b€j€e€c€t€:€ €F€W€:€ €M€o€t€o€r€ €V€e€h€i€c€l€e€ €I€n€s€u€r€a€n€c€e€



    € €



    €H€i€ €G€e€o€f€f€,€



    € €



    €J€u€s€t€ €f€o€l€l€o€w€i€n€g€ €u€p€ €o€n€ €m€y€ €e€m€a€i€l€ €b€e€l€o€w€.€ €

    €P€l€e€a€s€e€ €p€r€o€v€i€d€e€ €c€o€r€r€e€c€t€e€d€ €p€r€o€p€o€s€a€l€ €f€o€r€m€ €a€t€ €t€h€e€ €e€a€r€l€i€e€s€t€ €c€o€n€v€e€n€i€e€n€c€e€ €s€o€ €w€e€ €c€a€n€ €a€r€r€a€n€g€e€ €a€ €n€e€w€ €c€o€v€e€r€.€



    € €



    €K€i€n€d€ €r€e€g€a€r€d€s€,€



    €K€e€n€d€r€a€ €K€n€i€g€h€t€ €



    € €



    €_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€



    €F€r€o€m€:€ €K€e€n€d€r€a€ €K€n€i€g€h€t€ €

    €S€e€n€t€:€ €W€e€d€n€e€s€d€a€y€,€ €4€ €N€o€v€e€m€b€e€r€ €2€0€0€9€ €9€:€2€4€ €A€M€

    €T€o€:€ €'€G€e€o€f€f€ €C€o€n€s€t€a€n€t€i€n€e€'€

    €S€u€b€j€e€c€t€:€ €R€E€:€ €M€o€t€o€r€ €V€e€h€i€c€l€e€ €I€n€s€u€r€a€n€c€e€



    € €



    €H€i€ €G€e€o€f€f€,€



    €P€l€e€a€s€e€ €f€i€n€d€ €a€t€t€a€c€h€e€d€ €p€r€o€p€o€s€a€l€ €f€o€r€m€ €f€o€r€ €y€o€u€r€ €c€o€r€r€e€c€t€i€o€n€/€a€m€e€n€d€m€e€n€t€s€.€



    €K€i€n€d€ €r€e€g€a€r€d€s€,€



    €K€e€n€d€r€a€ €



    € €



    €_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€_€



    €F€r€o€m€:€ €G€e€o€f€f€ €C€o€n€s€t€a€n€t€i€n€e€ €[€m€a€i€l€t€o€:€s€e€a€f€a€r€i€@€h€i€g€h€w€a€y€1€.€c€o€m€.€a€u€]€ €

    €S€e€n€t€:€ €W€e€d€n€e€s€d€a€y€,€ €4€ €N€o€v€e€m€b€e€r€ €2€0€0€9€ €8€:€3€6€ €A€M€

    €T€o€:€ €K€e€n€d€r€a€ €K€n€i€g€h€t€

    €S€u€b€j€e€c€t€:€ €R€E€:€ €M€o€t€o€r€ €V€e€h€i€c€l€e€ €I€n€s€u€r€a€n€c€e€



    € €



    €H€e€l€l€o€ €K€e€n€d€r€a€,€



    € €



    €I€ €c€a€n€ t€ €b€e€l€i€e€v€e€ €h€o€w€ €d€i€f€f€i€c€u€l€t€ €I€ €h€a€v€e€ €m€a€d€e€ €t€h€i€s€ €  €t€o€o€ €m€a€n€y€ €c€o€o€k€s€ €i€n€ €t€h€e€ €k€i€t€c€h€e€n€ €o€n€ €t€h€i€s€ €o€n€e€!€!€!€



    € €



    €P€l€e€a€s€e€ €s€e€n€d€ €p€r€o€p€o€s€a€l€ €a€g€a€i€n€.€



    € €



    €G€e€o€f€f€



    € €



    €F€r€o€m€:€ €K€e€n€d€r€a€ €K€n€i€g€h€t€ €[€m€a€i€l€t€o€:€k€e€n€d€r€a€k€@€g€r€a€h€a€m€k€n€i€g€h€t€.€c€o€m€.€a€u€]€ €

    €S€e€n€t€:€ €M€o€n€d€a€y€,€ €2€ €N€o€v€e€m€b€e€r€ €2€0€0€9€ €2€:€5€4€ €P€M€

    €T€o€:€ €'€s€e€a€f€a€r€i€@€h€i€g€h€w€a€y€1€.€c€o€m€.€a€u€'€

    €S€u€b€j€e€c€t€:€ €M€o€t€o€r€ €V€e€h€i€c€l€e€ €I€n€s€u€r€a€n€c€e€



    € €



    €G€e€o€f€f€,€



    € €



    €F€u€r€t€h€e€r€ €t€o€ €o€u€r€ €t€e€l€e€p€h€o€n€e€ €c€o€n€v€e€r€s€a€t€i€o€n€ €F€r€i€d€a€y€,€ €I€ €h€a€v€e€ €n€o€w€ €r€e€c€e€i€v€e€d€ €i€n€f€o€r€m€a€t€i€o€n€ €f€r€o€m€ €y€o€u€r€ €i€n€s€u€r€e€r€ €r€e€g€a€r€d€i€n€g€ €t€h€e€ €m€o€t€o€r€ €v€e€h€i€c€l€e€ €p€r€o€p€o€s€a€l€ €f€o€r€m€ €r€e€c€e€i€v€e€d€.€



    € €



    €A€t€ €t€h€i€s€ €s€t€a€g€e€ €t€h€e€y€ €a€r€e€ €u€n€a€b€l€e€ €t€o€ €r€e€i€n€s€t€a€t€e€ €t€h€e€ €p€o€l€i€c€y€ €a€s€ €t€h€e€ €p€r€o€p€o€s€a€l€ €f€o€r€m€ €i€s€ €i€n€c€o€m€p€l€e€t€e€ €&€ €s€o€m€e€ €s€e€c€t€i€o€n€s€ €a€r€e€ €i€n€c€o€r€r€e€c€t€.€



    € €



    €I€t€ €i€s€ €n€o€t€e€d€ €o€n€ €t€h€e€ €p€r€o€p€o€s€a€l€ €t€h€a€t€ €t€h€e€ €v€e€h€i€c€l€e€ €i€s€ €o€w€n€e€d€ €b€y€ €K€y€l€i€e€ €E€l€i€z€a€b€e€t€h€ €B€r€a€d€e€r€ €t€h€e€r€e€f€o€r€e€ €t€h€e€ €p€o€l€i€c€y€ €m€u€s€t€ €b€e€ €i€n€ €h€e€r€ €n€a€m€e€ €&€ €t€h€e€ €p€r€o€p€o€s€a€l€ €s€i€g€n€e€d€ €&€ €d€a€t€e€d€ €b€y€ €h€e€r€.€



    € €



    €S€e€c€t€i€o€n€ €7€ €q€u€e€s€t€i€o€n€ €(€v€i€)€ €h€a€s€ €b€e€e€n€ €a€n€s€w€e€r€e€d€ €Y€E€S€ €b€u€t€ €n€o€ €d€e€t€a€i€l€s€ €w€e€r€e€ €s€u€p€p€l€i€e€d€ €,€ €f€u€l€l€ €d€e€t€a€i€l€s€ €r€e€q€u€i€r€e€d€?€ €(€S€p€e€e€d€i€n€g€ €f€i€n€e€s€,€ €o€n€ €t€h€e€ €s€p€o€t€ €f€i€n€e€s€,€ €t€r€a€f€f€i€c€ €c€a€m€e€r€a€ €f€i€n€e€s€ €o€r€ €a€n€y€ €o€t€h€e€r€ €m€o€t€o€r€i€n€g€ €r€e€l€a€t€e€d€ €f€i€n€e€s€ €e€x€c€l€u€d€i€n€g€ €p€a€r€k€i€n€g€)€



    € €



    €C€a€n€ €y€o€u€ €p€l€e€a€s€e€ €a€d€v€i€s€e€ €d€e€t€a€i€l€s€ €a€t€ €t€h€e€ €e€a€r€l€i€e€s€t€ €p€o€s€s€i€b€l€e€ €c€o€n€v€e€n€i€e€n€c€e€ €s€o€ €I€ €c€a€n€ €a€r€r€a€n€g€e€ €f€o€r€ €a€n€ €a€l€t€e€r€n€a€t€i€v€e€ €c€o€v€e€r€ €n€o€t€e€ €t€o€ €b€e€ €p€l€a€c€e€d€?€



    € €



    €T€h€a€n€k€ €y€o€u€ €&€ €k€i€n€d€ €r€e€g€a€r€d€s€,€ €



    € €



    € €





    €K€e€n€d€r€a€ €K€n€i€g€h€t€ €A€N€Z€I€I€F€ €(€S€n€r€.€ €A€s€s€o€c€.€)€,€ €C€I€P€,€ € €D€i€p€.€ €F€i€n€.€ €S€e€r€v€ €(€B€r€o€k€)€ €Q€P€I€B€





    €A€c€c€o€u€n€t€ €M€a€n€a€g€e€r€



    € €







    € €



    € €



    € €



    € €



    € €



    €G€r€a€h€a€m€ €S€ €K€n€i€g€h€t€ €a€n€d€ €A€s€s€o€c€i€a€t€e€s€ €I€n€s€u€r€a€n€c€e€ €B€r€o€k€e€r€s€ €&€ €R€i€s€k€ €C€o€n€s€u€l€t€a€n€t€s€ €



    €1€7€7€ €G€r€e€a€t€ €E€a€s€t€e€r€n€ €H€w€y€ €B€E€L€M€O€N€T€ €6€1€0€4€ €*€ € €P€O€ €B€o€x€ €1€6€0€ €B€E€L€M€O€N€T€ €6€9€8€4€



    €P€h€:€ €0€8€ €9€4€7€8€ €1€9€3€3€ €*€ € €F€a€x€:€ €0€8€ €9€4€7€8€ €3€1€2€4€ €*€ € €E€m€a€i€l€:€ €k€e€n€d€r€a€k€@€g€r€a€h€a€m€k€n€i€g€h€t€.€c€o€m€.€a€u€ €<€m€a€i€l€t€o€:€b€i€l€l€e€@€g€r€a€h€a€m€k€n€i€g€h€t€.€c€o€m€.€a€u€>€ €



    €W€e€b€s€i€t€e€:€ €w€w€w€.€g€r€a€h€a€m€k€n€i€g€h€t€.€c€o€m€.€a€u€ €*€ € €A€F€S€ €L€i€c€e€n€c€e€:€ €2€2€
    Headers:
    X-Antivirus: AVG for E-mail
    Return-Path: <[email protected]>
    Delivered-To: [email protected]
    Received: from mx.x.com.au (mx.per.x.com.au [2x.3x.31.xx])
    by mail1.per.x.com.au (Postfix) with ESMTP id 0DEA5FE4C7
    for <[email protected]>; Sun,  3 Jul 2011 15:38:05 +0800 (WST)
    X-ASG-Debug-ID: 1309678681-01a2066c0b186270001-JEf9es
    Received: from blu0-omc1-s10.blu0.hotmail.com (blu0-omc1-s10.blu0.hotmail.com [65.55.116.21]) by mx.higx.com.au with ESMTP id DVnpUZXJcJ7N71oa for <***>; Sun, 03 Jul 2011 15:38:02 +0800 (WST)
    X-Barracuda-Envelope-From: ***
    X-Barracuda-Apparent-Source-IP: 6x.5x.11x.2x
    Received: from BLU164-W18 ([65.55.116.8]) by blu0-omc1-s10.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675);
    Sun, 3 Jul 2011 00:37:59 -0700
    Message-ID: <[email protected]>
    boundary="_91a5ccaf-16b4-4d04-a0ae-267be2d1cb8d_"
    X-Originating-IP: [12x.17x.4x.11]
    From: Rxxxxxx <[email protected]>
    Subject: How to Correctly hold on in a Moving Train
    Date: Sun, 3 Jul 2011 15:37:59 +0800
    X-ASG-Orig-Subj: How to Correctly hold on in a Moving Train
    Importance: Normal
    In-Reply-To:
    <***>
    References:
    <4D62D60A29BF53D6BE5@Bindoon>,<***>
    MIME-Version: 1.0
    X-OriginalArrivalTime: 03 Jul 2011 07:37:59.0670 (UTC) FILETIME=[21F5E160:01CC3954]
    X-Barracuda-Connect: blu0-omc1-s10.blu0.hotmail.com[65.55.116.21]
    X-Barracuda-Start-Time: 1309678681
    X-Barracuda-URL: http://203.34.31.15:80/cgi-mod/mark.cgi
    X-Virus-Scanned: by bsmtpd at highway1.com.au
    X-Barracuda-Bayes: INNOCENT GLOBAL 0.0132 1.0000 -1.9348
    X-Barracuda-Spam-Score: 0.22
    X-Barracuda-Spam-Status: No, SCORE=0.22 using per-user scores of TAG_LEVEL=3.0 QUARANTINE_LEVEL=3.6 KILL_LEVEL=6.3 tests=HTML_FONT_SIZE_HUGE, HTML_IMAGE_RATIO_02, HTML_MESSAGE, MISSING_HEADERS, TO_CC_NONE
    X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.67828
    Rule breakdown below
    pts rule name              description
    1.21 MISSING_HEADERS        Missing To: header
    0.39 HTML_FONT_SIZE_HUGE    BODY: HTML font size is huge
    0.55 HTML_IMAGE_RATIO_02    BODY: HTML has a low ratio of text to image area
    0.00 HTML_MESSAGE           BODY: HTML included in message
    0.00 TO_CC_NONE             No To: or Cc: header
    To: undisclosed-recipients:;
    �Cc: header
    To: undisclosed-recipients:;
    � FONT-SIZE: 10pt"> </SPAN></FONT><FONT color=black><SPAN style="COLOR: black"> <BR> </SPAN></FONT><FONT color=black size=5><SPAN style="COLOR: black; FONT-SIZE: 18pt">              </SPAN></FONT><FONT color=black><SPAN style="COLOR: black"><IMG border=0 src="cid:5D6271D1018C4624B687BDD8543F9ABC@wayne" width=376 height=480><BR>  </SPAN></FONT><FONT color=black size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: b
    <Emails Edited By Host>

    There is something wrong there all right. I am having the same problem.
    In my home imac, I leave Mail open when I leave for work. During the day I may access gmail via the web interface, read and/or delete some e-mails, that sort of quite normal things. When I come home, Mail in the iMac has not detected any of the changes.
    This used to work with Tiger without any problems, Mail simply saw all the changes as one would expect. Definite regression, and it would be nice to have it fixed somehow...

Maybe you are looking for