class Net::IMAP::UIDPlusData
UIDPlusData
represents the ResponseCode#data
that accompanies the APPENDUID
and COPYUID
response codes.
A server that supports UIDPLUS
should send a UIDPlusData
object inside every TaggedResponse
returned by the append, copy, move, uid copy, and uid move commands—unless the destination mailbox reports UIDNOTSTICKY
.
Required capability¶ ↑
Requires either UIDPLUS
[RFC4315] or IMAP4rev2
capability.
Public Instance Methods
Source
# File lib/net/imap/response_data.rb, line 377
The newly assigned UIDs of the copied, moved, or appended messages.
Note |
This always returns an array, even when it contains only one UID. |
Source
# File lib/net/imap/response_data.rb, line 369
The UIDs of the copied or moved messages.
Note |
Returns |
Source
# File lib/net/imap/response_data.rb, line 391 def uid_mapping source_uids&.zip(assigned_uids)&.to_h end
Returns a hash mapping each source UID to the newly assigned destination UID.
Note |
Returns |
Source
# File lib/net/imap/response_data.rb, line 363
The UIDVALIDITY of the destination mailbox.