The IMessageBLL type exposes the following members.

Methods

  Name Description
Public method CreateMessage(Guid)
Creates a message.
Public method CreateMessage(Guid, Guid, String, String, Guid, String)
Creates a message.
Public method DeleteMessage
Deletes a message
Public method DeleteMessageRecipient
Deletes a message recepient. User will not see the message anymore.
Public method EnsureMessageExists
Ensures that a message exists, if not creates a new one. Used primarily for uploading files, where file upload can be performed before the message is entered.
Public method GetMessage
Gets the Message.
Public method GetMessageFilter
Gets the message main filter.
Public method GetMessageOrDefault
Gets the message by primary key or return a default instance.
Public method GetMessagePrefetchPath
Gets the message prefetch path.
Public method GetMessages(Guid, Guid, Int32, Int32, Int32%)
Returns complete message history for single parent message. Used in a message details/reply window.
Public method GetMessages(IRelationPredicateBucket, IPrefetchPath2, ISortExpression, Int32, Int32, Int32%)
Returns a collection of SnMessageEntitys.
Public method GetMessages(Guid, MessageStatus, String, String, SortDirection, Int32, Int32, Int32%)
Returns all messages for a particular user and a message status. Used in the main message list modules.
Public method GetMessages(Guid, List<(Of <<'(MessageStatus>)>>), String, String, SortDirection, Int32, Int32, Int32%)
Returns all messages for a particular user and a message status. Used in the main message list modules.
Public method GetMessagesFilter
Gets the GetMessages filter.
Public method GetMessageSorter
Gets the message sorter.
Public method GetNumberOfNewMessages
Returns a number of new messages for a particular user (messages arrived after his LastActivityDate)
Public method GetNumberOfUnreadMessages
Returns number of unread messages for a particular user.
Public method MarkAsRead
Marks a message and all replies as read.
Public method SaveMessage(SnMessageEntity)
Saves a message to the SnMessage table before it can be sent to other recipients
Public method SaveMessage(Guid, Guid, String, String, Guid, String)
Saves a message to the SnMessage table before it can be sent to other recipients
Public method SendMailToUser(Guid, Guid, Boolean)
Send an e-mail with InMail message to a user.
Public method SendMailToUser(Guid, Guid, IFileContentProvider, Boolean)
Send an e-mail with InMail message to a user.
Public method SendMessageToGroup
Sends a message to the members of a networking group
Public method SendMessageToList
Sends a message to all list members
Public method SendMessageToUser(Guid, Guid, MessageStatus, Boolean, Boolean)
Sends a message to the specific user.
Public method SendMessageToUser(Guid, String, MessageStatus, Boolean, Boolean)
Sends a message to the specific user.
Public method SendMessageToUsers
Sends a messages to the specific users.
Public method SendReply
Sends a reply message to all recipients of the original message.

Properties

  Name Description
Public property MailServerAddress
Gets or sets property that is used in message sending methods instead of the "From" address of the user. Used to avoid SPF issues on mail servers that will not accept from addresses from arbitrary users. Instead of that, a fixed valid From message is used that is always accepted by SMTP.

See Also