cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: Listing and moving mails in IMAP Inbox

From: No One <phpler_at_hotmail.com>
Date: Tue, 10 Dec 2013 14:53:39 +0000

Thank you, I just assumed that I had the newest version..
Now, with 7.33 everything works as expected.

As far as moving a mail from one folder to another is concerned I found the following post very insightful:
http://stackoverflow.com/a/15816045/3078674

So, after copying the mail and adding a deleted flag one has to expunge the mail. Using

> --url 'imaps://mailserver.com:993/INBOX' -X 'EXPUNGE'

to expunge _all_ mails works fine but I just want to expunge a selected mail, so I tried

> --url 'imaps://mailserver.com:993/INBOX' -X 'UID EXPUNGE 1'

but this command doesn't seem to work even though with the verbose flag (-v) it tells me:

> > A004 UID EXPUNGE 1
> < A004 OK Expunge completed.

The email still appears with the deleted flag. Can someone confirm this behaviour?
Maybe this is caused by my mail server or something else.
                                               

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-12-10