Click or drag to resize

IMailMessageServiceMoveMessage Method

Move messageKey to targetMailboxKey

Namespace: SanteDB.Core.Services
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
MailboxMailMessage MoveMessage(
	Guid sourceMailbox,
	Guid messageKey,
	Guid targetMailboxKey,
	bool copy = false
)

Parameters

sourceMailbox  Guid
The source mailbox
messageKey  Guid
The key of the message to be moved
targetMailboxKey  Guid
The target mailbox
copy  Boolean  (Optional)
True if the message should be duplicated

Return Value

MailboxMailMessage
The updated mail message
See Also