I have a email account receive buntch of mail with a little file ... my goal, every 10 minutes, read all may, download the little file , remove the mail ...
but that doesn't work..., i have 5 random mail with the flag : deleted: 1 on my mailbox but mail still here ..
i try to move mail to trash... but seem not working ...
( try moving mail to another folder , doesn't work either )
this.#client.moveMessages('INBOX', mail.uid, 'INBOX.eee', { byUid: true }).then(() => {
jethro.warning('ImapClient', `Mail UID : ${mail.uid} is delete.`);
});```
( same , try with 'byUid', and without ... try with 'INBOX.eee' / 'INBOX/eee', 'INBOX.Trash' INBOX/Trash')
I have a email account receive buntch of mail with a little file ... my goal, every 10 minutes, read all may, download the little file , remove the mail ...
PS: this.#client is my connected ImapClient...
i try
and
but that doesn't work..., i have 5 random mail with the flag : deleted: 1 on my mailbox but mail still here .. i try to move mail to trash... but seem not working ... ( try moving mail to another folder , doesn't work either )