|
@ -57,7 +57,7 @@ class IrMailServer(models.Model): |
|
|
folder.unlink() |
|
|
folder.unlink() |
|
|
for line in mBoxes: |
|
|
for line in mBoxes: |
|
|
flags, delimiter, \ |
|
|
flags, delimiter, \ |
|
|
mailbox_name = self.parse_list_response(line) |
|
|
|
|
|
|
|
|
mailbox_name = self.parse_list_response(line) |
|
|
res = {'server_id': self.id, 'name': mailbox_name, } |
|
|
res = {'server_id': self.id, 'name': mailbox_name, } |
|
|
imap_pool.create(res) |
|
|
imap_pool.create(res) |
|
|
self.write({'imap_mailbox_verified': True}) |
|
|
self.write({'imap_mailbox_verified': True}) |
|
|