SecureMailAdapter

Functions

Link copied to clipboard
open fun bulkDeleteSecureMails(secureMailIds: List<String>)

Removes multiple Secure Mails.

Link copied to clipboard
open fun createNewSecureMail(subject: String, content: String, replyToSecureMailId: String?, receiverAddress: String, attachments: List<File>?): SecureMailDto

Creates new Secure Mail with supplied data.

Link copied to clipboard

Retrieves all possible Secure Mail contacts/recipients for the logged-in user.

Link copied to clipboard
open fun getSecureMailAttachmentById(secureMailId: String, attachmentId: String): FileData

Retrieves the attachment metadata and the binary content.

Link copied to clipboard
open fun getSecureMailById(secureMailId: String): SecureMailDto

Retrieves the secure mail with the specified id.

Link copied to clipboard

Marks multiple Secure Mails as read(set dateRead on the current server time).

Link copied to clipboard
open fun searchSecureMails(searchSecureMailRequestDto: SearchSecureMailRequestDto, page: Int, size: Int, sortOrder: List<SortOrder>): SecureMailPageDto

Searches for secure mails based on the specified parameters.