imaplib.error: command COPY illegal in state AUTH

R

Raghul

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
 
G

Grant Edwards

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top