curl / Mailing Lists / curl-users / Single Mail


Re: Re: IMAP: Get multiple sections from email with one command

From: Axel Humcke <>
Date: Tue, 12 Mar 2019 08:13:30 +0100

Of course, i thought sharing the link to the answer would be enough.

The solution from user diciu on Stack Overflow:

You have to add the two requests one after another, e.g.

curl --url
"imaps://;UID=216;SECTION=TEXT" -u "user:password"

curl will issue the two commands on the same session, that is after
SELECT-ing the folder it will yield two FETCH commands.

Received on 2019-03-12