Mime MessageGet Recipients Method
Get the concatenated list of recipients.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
The concatenated list of recipients.
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public IList<MailboxAddress> GetRecipients(
bool onlyUnique = false
)Parameters
- onlyUnique Boolean (Optional)
- If , only mailboxes with a unique address will be included.
Return Value
IListMailboxAddressThe concatenated list of recipients.
Remarks
Gets the concatenated list of recipients.
If the Resent-Sender or Resent-From headers exist, then the recipients defined by the Resent-To, Resent-Cc and Resent-Bcc headers will be used. Otherwise, the recipients defined by the To, Cc and Bcc headers will be used.