Skip to content

Commit ff4fb2a

Browse files
committed
📚 Update #uid_fetch documentation
Add a note about the implicit UID message data item.
1 parent 679dcef commit ff4fb2a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/net/imap.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1338,6 +1338,11 @@ def fetch(set, attr, mod = nil)
13381338
# Similar to #fetch, but the +set+ parameter contains unique identifiers
13391339
# instead of message sequence numbers.
13401340
#
1341+
# >>>
1342+
# *Note:* Servers _MUST_ implicitly include the +UID+ message data item as
1343+
# part of any +FETCH+ response caused by a +UID+ command, regardless of
1344+
# whether a +UID+ was specified as a message data item to the +FETCH+.
1345+
#
13411346
# Related: #fetch, FetchData
13421347
def uid_fetch(set, attr, mod = nil)
13431348
return fetch_internal("UID FETCH", set, attr, mod)

0 commit comments

Comments
 (0)