Processes a request to send a non-listing message
Namespace:
RainWorx.FrameWorx.MVC.ControllersAssembly: RainWorx.FrameWorx.MVC (in RainWorx.FrameWorx.MVC.dll) Version: 3.5
Syntax
C#
public ActionResult SendMessage( string receiver, string template, int? listingID, string Subject, string Body, string returnUrl, int? masterMessageID )
Parameters
- receiver
- Type: SystemString
username of recipient - template
- Type: SystemString
name of the template to be used for this message - listingID
- Type: SystemNullableInt32
ID of the listing specified as the subject of this message - Subject
- Type: SystemString
message subject text entered by user - Body
- Type: SystemString
message body text entered by user - returnUrl
- Type: SystemString
return url (default all messages view if missing) - masterMessageID
- Type: SystemNullableInt32
the id of the primary related message
Return Value
Type: ActionResultRedirect to "returnUrl" (success) or all messages view if missing or on error
See Also