Click or drag to resize

MessageControllerGetMailBoxSentMessages Method

Get the sent messages for the specified mailbox. The logged in user must have acces to the mailbox.

Namespace:  MedTunnelMsg.Controllers
Assembly:  MedTunnelMsg (in MedTunnelMsg.dll) Version: (
public Result GetMailBoxSentMessages(
	int MailBoxId,
	bool OnlyMessagesWithAttachments = false,
	int LastMessageId = 0,
	int StartRow = 0,
	int RowCount = 50,
	bool UnReadOnly = false


Type: SystemInt32
Internal mailbox Id
OnlyMessagesWithAttachments (Optional)
Type: SystemBoolean
Only retrieve messages with attachment(s). Defaults to false
LastMessageId (Optional)
Type: SystemInt32
The last message Id retrieved. Only messages received after this message will be retrieved. Defaults to 0
StartRow (Optional)
Type: SystemInt32
Starting row number of the message set to retrieve. Defaults to 0. Used for paging
RowCount (Optional)
Type: SystemInt32
Maximum number of rows to retrieve. Defaults to 50. Used for paging
UnReadOnly (Optional)
Type: SystemBoolean
Get unread messages only? Defaults to false

Return Value

Type: Result
Result.Data contains a list of Message objects. Result.ReturnCode values:
  • 0 = An unknown error occurred
  • 1 = Success
curl -X GET -k 
        -H "Authorization:PutAuthorizationTokenHere"
See Also