Path: csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail From: Anthony Papillion Newsgroups: comp.lang.python Subject: How to create a folder using IMAPLib? Date: Wed, 18 Nov 2015 14:01:52 -0600 Lines: 36 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de apW+4L0+z3vGD0/b+glEewn1zaRAokB/0wkT6B60VPRg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:How': 0.09; 'pgp': 0.09; 'skip:t 60': 0.09; 'subject:create': 0.09; 'subject:using': 0.09; 'message-----': 0.15; '-----begin': 0.16; '-----end': 0.16; 'fingerprint:': 0.16; 'from:addr:anthony': 0.16; 'hash:': 0.16; 'key:': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'skip:d 60': 0.16; 'skip:j 60': 0.16; 'subject:folder': 0.16; 'skip:n 60': 0.22; 'thanks,': 0.24; 'signed': 0.24; 'header:User- Agent:1': 0.26; 'command': 0.26; 'host': 0.28; 'skip:i 60': 0.29; "i'm": 0.30; 'folder': 0.30; 'anyone': 0.32; 'another': 0.32; 'source': 0.33; 'machine.': 0.33; 'phone:': 0.33; 'server': 0.34; 'list': 0.34; 'quite': 0.35; 'but': 0.36; 'to:addr:python-list': 0.36; 'subject:?': 0.36; 'skype:': 0.38; 'sure': 0.39; 'does': 0.39; 'received:192': 0.39; 'to:addr:python.org': 0.40; 'special': 0.73; 'skip:w 60': 0.84 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:98995 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 I'm writing a program to help migrate mail from one host to another with a few special circumstances. I'm able to get a list off of the source IMAP server using the .list() command but I'm not quite sure how to create a folder on the target machine. Does anyone know how to create a folder using IMAPlib? Thanks, Anthony - -- Phone: 1.845.666.1114 Skype: cajuntechie PGP Key: 0x028ADF7453B04B15 Fingerprint: C5CE E687 DDC2 D12B 9063 56EA 028A DF74 53B0 4B15 -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJWTNkwAAoJEAKK33RTsEsVWsUQAKwo8HkE1mCDr+fFMQhUoE9N Tb80bbZkERbY7wvy31sr9EIBVDan6KDk7ZJX/hcYMfjOmoOtq55Ywmb3UxEkLzh2 TK1uujPa3X61hOYquspQ2QQ3wPW0mIEf+dTSQGipRV5n/AotIMD4Wda5Qia3E8ak tcNqXmi9k6iQoW1ct3JWO2HScJL5AUAcnu/C/iFsC1oGWGLYFu3fXOkjExN3GBTg ihuiyHAtUsow6pMLuRQ61/HHU9c3G2laOs/4M6oRtsnMetANsxi7BAP/X+OBxCdA nz1qe2SORoFs/UYqbFkwJOvBDLTTrpyLv9ZvqWwdq1IUngMA1p/sJxRkYZ8bL6Wj zJVJxDSxkE5s6J/neqFA97KI8EVGX5DXS2lNSxBT5crJkF88brBcUvebx0Euogdk Jqk/rtRE1D6nFa+q0Og4A32Ajg0Qbr2prKcgxW8QxHuOEx/yuUkOpC9znW3qJ6uh D60b1tP03RasdfQEnoaKI3Z0+nKulBFVZW5iIQKTZgp+2Vqr3umodv4PUcz3wq5g nVRbtAu5pS904Jt+mr64DGW2ssBrYGl5HEwRG83r0coXgpO+GR0kZNZ9CoQtG4xl wF2wTL8PqvJNqBamQ5KJi8Mqeb2FkEc8hgfy6EtUPfOAs3zJkbQv1Q3IcGT8UvRL 8UAGdPsn1LQ51BVDLaZ4 =77Lm -----END PGP SIGNATURE-----