Mail Repository Provider
IMailMessageService
in assembly SanteDB.Core.Api version 3.0.1980.0
Summary
Represents a service which handles the mailbox services.
Events
Event | Type | Description |
---|---|---|
Sent | EventHandler<MailMessageEventArgs> | Fired when an mail message has been received. |
Operations
Operation | Response/Return | Input/Parameter | Description |
---|---|---|---|
Send | MailMessage | MailMessage mail | Send the specified mailmessage according to its sending instructions |
GetMailboxes | IQueryResultSet<Mailbox> | Nullable<Guid> forUserKey | Get mailboxes for the current user |
GetMailbox | Mailbox | String mailboxName | Get a specific mailbox |
CreateMailbox | Mailbox | String name Nullable<Guid> ownerKey | Create a new mailbox for the specified user |
GetMessages | IQueryResultSet<MailboxMailMessage> | String mailboxName | Get messages from the mailbox |
MoveMessage | MailboxMailMessage | Guid messageKey String targetMailboxName Boolean copy | Move to |
DeleteMessage | MailboxMailMessage | String fromMailboxName Guid messageKey | Delete the specified message |
DeleteMailbox | Mailbox | String fromMailboxName Nullable<Guid> ownerKey | Delete mailbox from current user account |
UpdateStatusFlag | MailboxMailMessage | Guid mailMessageKey MailStatusFlags statusFlag | Update the flag for the specified mail message instance |
Implementations
LocalMailMessageService - (SanteDB.Core.Api)
Represents a IMailMessageService which uses database persistence layer to store / retrieve mail messages within the system
Service Registration
Example Implementation
References
Last updated