{"action":"created","issue":{"url":"https://api.github.com/repos/manusa/mnIMAPSync/issues/5","labels_url":"https://api.github.com/repos/manusa/mnIMAPSync/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/manusa/mnIMAPSync/issues/5/comments","events_url":"https://api.github.com/repos/manusa/mnIMAPSync/issues/5/events","html_url":"https://github.com/manusa/mnIMAPSync/issues/5","id":54796033,"number":5,"title":"Gmail (destination), can't create trash folder","user":{"login":"virgolamobile","id":1018772,"avatar_url":"https://avatars.githubusercontent.com/u/1018772?v=3","gravatar_id":"","url":"https://api.github.com/users/virgolamobile","html_url":"https://github.com/virgolamobile","followers_url":"https://api.github.com/users/virgolamobile/followers","following_url":"https://api.github.com/users/virgolamobile/following{/other_user}","gists_url":"https://api.github.com/users/virgolamobile/gists{/gist_id}","starred_url":"https://api.github.com/users/virgolamobile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virgolamobile/subscriptions","organizations_url":"https://api.github.com/users/virgolamobile/orgs","repos_url":"https://api.github.com/users/virgolamobile/repos","events_url":"https://api.github.com/users/virgolamobile/events{/privacy}","received_events_url":"https://api.github.com/users/virgolamobile/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-19T18:16:49Z","updated_at":"2015-04-10T15:20:16Z","closed_at":null,"body":"java -jar mnIMAPSync.jar --host1 imap.gmail.com --port1 993  --user1 XXXXXXXX@**gmail.com** --password1 ZZZZZZZZ --ssl1 --host2 imap.gmail.com --port2 993 --user2 KKKKKKKK@**gmail.com** --password2 ZZZZZZZZ --ssl2\r\n\r\nIndexed (target): 0/0  Copied: 0/0 Deleted: 0/0 Speed: 0,00 m/s\r\n\r\nIndexed (target): 0/0  Copied: 0/0 Deleted: 0/0 Speed: 0,00 m/sgen 19, 2015 7:13:45 PM com.marcnuri.mnimapsync.store.StoreCopier copy SEVERE: null\r\njavax.mail.MessagingException: **Couldn't create folder: Trash in target server.**\r\n        at com.marcnuri.mnimapsync.store.StoreCopier.copySourceFolder(StoreCopier.java:118)\r\n        at com.marcnuri.mnimapsync.store.StoreCopier.copySourceFolder(StoreCopier.java:128)\r\n        at com.marcnuri.mnimapsync.store.StoreCopier.copy(StoreCopier.java:88)\r\n        at com.marcnuri.mnimapsync.MNIMAPSync.sync(MNIMAPSync.java:94)\r\n        at com.marcnuri.mnimapsync.MNIMAPSync.main(MNIMAPSync.java:147)\r\n\r\n===============================================================\r\nSync Process Finished.\r\n===============================================================\r\nFolders copied: 0/265\r\nMessages copied: 0/0\r\nSpeed: 0,00 m/s\r\nExceptions: false\r\nElapsed time: 90 s"},"comment":{"url":"https://api.github.com/repos/manusa/mnIMAPSync/issues/comments/91589738","html_url":"https://github.com/manusa/mnIMAPSync/issues/5#issuecomment-91589738","issue_url":"https://api.github.com/repos/manusa/mnIMAPSync/issues/5","id":91589738,"user":{"login":"Concept211","id":589002,"avatar_url":"https://avatars.githubusercontent.com/u/589002?v=3","gravatar_id":"","url":"https://api.github.com/users/Concept211","html_url":"https://github.com/Concept211","followers_url":"https://api.github.com/users/Concept211/followers","following_url":"https://api.github.com/users/Concept211/following{/other_user}","gists_url":"https://api.github.com/users/Concept211/gists{/gist_id}","starred_url":"https://api.github.com/users/Concept211/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Concept211/subscriptions","organizations_url":"https://api.github.com/users/Concept211/orgs","repos_url":"https://api.github.com/users/Concept211/repos","events_url":"https://api.github.com/users/Concept211/events{/privacy}","received_events_url":"https://api.github.com/users/Concept211/received_events","type":"User","site_admin":false},"created_at":"2015-04-10T15:20:16Z","updated_at":"2015-04-10T15:20:16Z","body":"I'm having a similar issue where the source server's inbox is labeled \"INBOX\" but the destination server 's inbox is labeled \"Inbox\". So it crashes because it's trying to create a new folder. Anyway of changing the code so that it's case-insensitive?\r\n\r\n`Indexed (target): 0/0  Copied: 0/0 Deleted: 0/0 Speed: 0.00 m/sApr 10, 2015 11:0\r\n9:36 AM com.marcnuri.mnimapsync.store.StoreCopier copy\r\nSEVERE: null\r\njavax.mail.MessagingException: Couldn't create folder: INBOX in target server.\r\n        at com.marcnuri.mnimapsync.store.StoreCopier.copySourceFolder(StoreCopie\r\nr.java:118)\r\n        at com.marcnuri.mnimapsync.store.StoreCopier.copySourceFolder(StoreCopie\r\nr.java:128)\r\n        at com.marcnuri.mnimapsync.store.StoreCopier.copy(StoreCopier.java:88)\r\n        at com.marcnuri.mnimapsync.MNIMAPSync.sync(MNIMAPSync.java:94)\r\n        at com.marcnuri.mnimapsync.MNIMAPSync.main(MNIMAPSync.java:147)`"}}