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 -- http://mail.python.org/mailman/listinfo/python-list