By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,012 Members | 988 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,012 IT Pros & Developers. It's quick & easy.

imaplib.error: command COPY illegal in state AUTH

P: n/a
I am getting this error while copying n number of messages to the
folder using imaplib.What to do to copy n number of folders in mail

The error i got is

imaplib.error: command COPY illegal in state AUTH

I am executing the lines

for i in alluids:
print i
print alluids
copymsg(obj,res,alluids[n],'INBOX') #copy to folder
deletemsg(ss,alluids[n]) # delete from folder
n+=1

Jul 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On 2005-02-22, Raghul <ra*****@gmail.com> wrote:
I am getting this error while copying n number of messages to the
folder using imaplib.What to do to copy n number of folders in mail

The error i got is

imaplib.error: command COPY illegal in state AUTH


That means you haven't logged in yet.

Will you PLEASE keep your IMAP questions in a single thread?

--
Grant Edwards grante Yow! PARDON me, am I
at speaking ENGLISH?
visi.com
Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.