|
|
|
@ -259,7 +259,6 @@ public class FragmentQuickSetup extends FragmentBase {
|
|
|
|
|
|
|
|
|
|
String user = (provider.user == EmailProvider.UserType.EMAIL ? email : dparts[0]);
|
|
|
|
|
|
|
|
|
|
Character separator;
|
|
|
|
|
List<EntityFolder> folders = new ArrayList<>();
|
|
|
|
|
long now = new Date().getTime();
|
|
|
|
|
|
|
|
|
@ -270,8 +269,6 @@ public class FragmentQuickSetup extends FragmentBase {
|
|
|
|
|
try (IMAPStore istore = (IMAPStore) isession.getStore(provider.imap_starttls ? "imap" : "imaps")) {
|
|
|
|
|
istore.connect(provider.imap_host, provider.imap_port, user, password);
|
|
|
|
|
|
|
|
|
|
separator = istore.getDefaultFolder().getSeparator();
|
|
|
|
|
|
|
|
|
|
boolean inbox = false;
|
|
|
|
|
boolean drafts = false;
|
|
|
|
|
for (Folder ifolder : istore.getDefaultFolder().list("*")) {
|
|
|
|
|