Click or drag to resize
MimeKit

BouncyCastleSecureMimeContextGetCmsRecipients Method

Get a collection of CmsRecipients for the specified mailboxes.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
protected CmsRecipientCollection GetCmsRecipients(
	IEnumerable<MailboxAddress> mailboxes
)

Parameters

mailboxes  IEnumerableMailboxAddress
The mailboxes.

Return Value

CmsRecipientCollection
A CmsRecipientCollection.
Exceptions
ExceptionCondition
ArgumentNullExceptionmailboxes is null.
CertificateNotFoundException A certificate for one or more of the specified mailboxes could not be found.
Remarks
Gets a collection of CmsRecipients for the specified mailboxes.
See Also