MailMessageEncrypt Method (X509Certificate2)

Encrypts this message

Namespace:  Aspose.Email
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.3
Syntax
public virtual MailMessage Encrypt(
	X509Certificate2[] certificates
)

Parameters

certificates
Type: System.Security.Cryptography.X509CertificatesX509Certificate2
Array with X509 certificates to encrypt message

Return Value

Type: MailMessage
Encrypted email message
See Also