Skip to content

Commit c76e9d6

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

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
@@ -1337,6 +1337,11 @@ def fetch(set, attr, mod = nil)
13371337
# Similar to #fetch, but the +set+ parameter contains unique identifiers
13381338
# instead of message sequence numbers.
13391339
#
1340+
# >>>
1341+
# *Note:* Servers _MUST_ implicitly include the +UID+ message data item as
1342+
# part of any +FETCH+ response caused by a +UID+ command, regardless of
1343+
# whether a +UID+ was specified as a message data item to the +FETCH+.
1344+
#
13401345
# Related: #fetch, FetchData
13411346
def uid_fetch(set, attr, mod = nil)
13421347
return fetch_internal("UID FETCH", set, attr, mod)

0 commit comments

Comments
 (0)