in reply to Re^2: Mark messages as read
in thread Mirror/Copy Mozilla thunderbird emails to IMAP server
Ended up adding more checks, edits etc..
I'll post the most important ones: in stead of for my $msg ($mb->get_messages) use:
This because I missed messages with the 'for' loop!for (0 .. $mb->nmsgs - 1) { my $msg = $mb->get_message($_);
Large mails ended in errors, I ended up editing the IMAPClient.pm, altering Maxappendstringlength to 1024**20 in stead of 1024**2
Also had some headaches with Character coding of foldernames.. IMAP doesn't support a lot..
If you'dd like the whole code I created, let me know..
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Mark messages as read
by CDuv (Initiate) on Nov 07, 2022 at 14:15 UTC |