MEEncodedOutgoingMessage
An object that contains the signed or encrypted representation of a message’s RFC 2822 data.
Declaration
class MEEncodedOutgoingMessageOverview
When MailKit invokes your message security handler’s encode(_:composeContext:completionHandler:) method, it digitally signs and encrypts the message. After encoding the message data, create an instance of MEEncodedOutgoingMessage to pass back to MailKit. Set the isSigned and isEncrypted values to indicate how you encoded the message.