1 5464:698 ../imapserver/metadata.go:21
2RFC 5464, "The IMAP METADATA Extension", February 2009
3Source of RFC: IETF - NON WORKING GROUP
4Area Assignment: app
5See Also: RFC 5464 w/ inline errata
6
7Errata ID: 3868
8Status: Verified
9Type: Technical
10Publication Format(s) : TEXT
11Reported By: Tim Gokcen
12Date Reported: 2014-01-16
13Verifier Name: Barry Leiba
14Date Verified: 2014-01-17
15
16Section 4.4.1 says:
17
18 Example:
19
20 C: a GETMETADATA "INBOX" /private/comment /shared/comment
21 S: * METADATA "INBOX" (/private/comment "My comment"
22 /shared/comment "Its sunny outside!")
23 S: a OK GETMETADATA complete
24
25 In the above example, two entries and their values are returned by
26 the server.
27
28 Example:
29
30 C: a GETMETADATA "INBOX" /private/comment /shared/comment
31 S: * METADATA "INBOX" (/private/comment "My comment")
32 S: * METADATA "INBOX" (/shared/comment "Its sunny outside!")
33 S: a OK GETMETADATA complete
34
35It should say:
36 Example:
37
38 C: a GETMETADATA "INBOX" (/private/comment /shared/comment)
39 S: * METADATA "INBOX" (/private/comment "My comment"
40 /shared/comment "Its sunny outside!")
41 S: a OK GETMETADATA complete
42
43 In the above example, two entries and their values are returned by
44 the server.
45
46 Example:
47
48 C: a GETMETADATA "INBOX" (/private/comment /shared/comment)
49 S: * METADATA "INBOX" (/private/comment "My comment")
50 S: * METADATA "INBOX" (/shared/comment "Its sunny outside!")
51 S: a OK GETMETADATA complete
52
53Notes:
54
55ABNF in section 5 for "getmetadata" says that when requesting multiple metadata entries, they must be part of a parenthesized list, and not simply space-separated:
56
57getmetadata = "GETMETADATA" [SP getmetadata-options] SP mailbox SP entries
58entries = entry / "(" entry *(SP entry) ")"
59entry = astring
60
61