Hi,

In addition to the other imap issue we have, there is a second one:


./curl --verbose --url "imap://imap.macsw.de/INBOX/" -u xxx:yyy --request 
"FETCH 1:* (FLAGS BODY[HEADER.FIELDS (Message-Id)])" --output test.txt

When I run this the output of fetch goes to debug messages and not to the file.

The file only contains:

* 1 FETCH (FLAGS (\Seen) BODY[HEADER.FIELDS (MESSAGE-ID)] {77}
* 2 FETCH (FLAGS (\Seen) BODY[HEADER.FIELDS (MESSAGE-ID)] {75}
* 3 FETCH (FLAGS (\Seen) BODY[HEADER.FIELDS (MESSAGE-ID)] {77}
* 4 FETCH (FLAGS (\Seen) BODY[HEADER.FIELDS (MESSAGE-ID)] {88}

But the debug log shows the message IDs:

> A004 FETCH 1:* (FLAGS BODY[HEADER.FIELDS (Message-Id)])
< * 1 FETCH (FLAGS (\Seen) BODY[HEADER.FIELDS (MESSAGE-ID)] {77}
< Message-Id: <[email protected]>
< 
< )
< * 2 FETCH (FLAGS (\Seen) BODY[HEADER.FIELDS (MESSAGE-ID)] {75}
< Message-Id: <[email protected]>
< 
< )
< * 3 FETCH (FLAGS (\Seen) BODY[HEADER.FIELDS (MESSAGE-ID)] {77}
< Message-Id: <[email protected]>
< 
< )
< * 4 FETCH (FLAGS (\Seen) BODY[HEADER.FIELDS (MESSAGE-ID)] {88}
< Message-ID: 
<620169242.91311542275549...@filemaker-jc-t-wa02.dynphx1.jivehosted.com>
< 
< )
< A004 OK Fetch completed (0.001 + 0.000 secs).


Does anyone know why this output goes to log instead of file?



Sincerely
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/



-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to