Dia McThrees
Dia McThrees

Reputation: 53

IMAP URL fetch body structure

I need to fetch mailbox information using an IMAP URL request. These are detailed in RFC5092. I have succeeded in fetching parts of the body with URLs such as

imaps://imap.gmail.com:993/INBOX/;UID=4/;SECTION=1

which is equivalent to the command

UID FETCH 4 BODY.PEEK[1]

Is there a way, using only a URL to fetch the bodystructure (UID FETCH 4 BODYSTRUCTURE) of a message?

Upvotes: 1

Views: 749

Answers (1)

arnt
arnt

Reputation: 9685

No, there isn't any such way. 5092 only provides access to some IMAP entities, and the bodystructure is not one of them.

Upvotes: 1

Related Questions