javax.mail.MessagingException: Couldn't create folder: INBOX in target server.

GitHub | Concept211 | 2 years ago
  1. 0

    GitHub comment 5#91589738

    GitHub | 2 years ago | Concept211
    javax.mail.MessagingException: Couldn't create folder: INBOX in target server.
  2. 0

    Gmail (destination), can't create trash folder

    GitHub | 2 years ago | virgolamobile
    javax.mail.MessagingException: **Couldn't create folder: Trash in target server.**
  3. 0

    Hi, I am connecting to my Gmail Account to receive mails from my gmail through Mule pop3s connector, Below is my Configuration code. <pop3s:connector name="e2spop3Connector" checkFrequency="500" deleteReadMessages="true" /> <model name="emailtosmsmodel"> <service name="emailtosmsservice"> <inbound> <pop3s:inbound-endpoint host="pop.gmail.com" user="myusername%40gmail.com" password="mypassword"> <email:email-to-string-transformer/> </pop3s:inbound-endpoint> </inbound> <component class="com.test.ReceiveEmail" /> </service> </model> I am able to receive the mail's successfully once they arrive in my mail Box, But the problem is, after i start my tomcat webserver where i deployed this application, after sometime the pop3s connector is keep on throwing an Exception as below: [03-03 11:11:12] ERROR RetrieveMessageReceiver [e2spop3Connector.receiver.1]: Failed to close pop3 inbox: Folder is not Open [03-03 11:11:14] ERROR DefaultSystemExceptionStrategy [e2spop3Connector.receiver.1]: Caught exception in Exception Strategy: Cannot monitor folder: INBOX as folder is closed javax.mail.MessagingException: Cannot monitor folder: INBOX as folder is closed at org.mule.transport.email.RetrieveMessageReceiver.poll(RetrieveMessageReceiver.java:319) at org.mule.transport.PollingReceiverWorker.poll(PollingReceiverWorker.java:79) at org.mule.transport.PollingReceiverWorker.run(PollingReceiverWorker.java:50) at org.mule.work.WorkerContext.run(WorkerContext.java:309) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575) at java.lang.Thread.run(Unknown Source) [03-03 11:11:14] ERROR RetrieveMessageReceiver [e2spop3Connector.receiver.1]: Failed to close pop3 inbox: Folder is not Open What's the cause for this exception. Is there anything wrong in the configuration. How to solve this issue. Please advice. Thanks & Regards Nagendra E Loli

    MuleSoft JIRA | 6 years ago | Nagendra E Loli
    javax.mail.MessagingException: Cannot monitor folder: INBOX as folder is closed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hi, I am connecting to my Gmail Account to receive mails from my gmail through Mule pop3s connector, Below is my Configuration code. <pop3s:connector name="e2spop3Connector" checkFrequency="500" deleteReadMessages="true" /> <model name="emailtosmsmodel"> <service name="emailtosmsservice"> <inbound> <pop3s:inbound-endpoint host="pop.gmail.com" user="myusername%40gmail.com" password="mypassword"> <email:email-to-string-transformer/> </pop3s:inbound-endpoint> </inbound> <component class="com.test.ReceiveEmail" /> </service> </model> I am able to receive the mail's successfully once they arrive in my mail Box, But the problem is, after i start my tomcat webserver where i deployed this application, after sometime the pop3s connector is keep on throwing an Exception as below: [03-03 11:11:12] ERROR RetrieveMessageReceiver [e2spop3Connector.receiver.1]: Failed to close pop3 inbox: Folder is not Open [03-03 11:11:14] ERROR DefaultSystemExceptionStrategy [e2spop3Connector.receiver.1]: Caught exception in Exception Strategy: Cannot monitor folder: INBOX as folder is closed javax.mail.MessagingException: Cannot monitor folder: INBOX as folder is closed at org.mule.transport.email.RetrieveMessageReceiver.poll(RetrieveMessageReceiver.java:319) at org.mule.transport.PollingReceiverWorker.poll(PollingReceiverWorker.java:79) at org.mule.transport.PollingReceiverWorker.run(PollingReceiverWorker.java:50) at org.mule.work.WorkerContext.run(WorkerContext.java:309) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575) at java.lang.Thread.run(Unknown Source) [03-03 11:11:14] ERROR RetrieveMessageReceiver [e2spop3Connector.receiver.1]: Failed to close pop3 inbox: Folder is not Open What's the cause for this exception. Is there anything wrong in the configuration. How to solve this issue. Please advice. Thanks & Regards Nagendra E Loli

    MuleSoft JIRA | 6 years ago | Nagendra E Loli
    javax.mail.MessagingException: Cannot monitor folder: INBOX as folder is closed
  6. 0

    accessing multiple folder

    Oracle Community | 2 decades ago | 843830
    javax.mail.MessagingException: only INBOX supported

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.mail.MessagingException

      Couldn't create folder: INBOX in target server.

      at com.marcnuri.mnimapsync.store.StoreCopier.copySourceFolder()
    2. com.marcnuri.mnimapsync
      MNIMAPSync.main
      1. com.marcnuri.mnimapsync.store.StoreCopier.copySourceFolder(StoreCopier.java:118)
      2. com.marcnuri.mnimapsync.store.StoreCopier.copySourceFolder(StoreCopier.java:128)
      3. com.marcnuri.mnimapsync.store.StoreCopier.copy(StoreCopier.java:88)
      4. com.marcnuri.mnimapsync.MNIMAPSync.sync(MNIMAPSync.java:94)
      5. com.marcnuri.mnimapsync.MNIMAPSync.main(MNIMAPSync.java:147)
      5 frames