You are here: RainWorx.FrameWorx.MVC Namespaces > RainWorx.FrameWorx.MVC.Controllers > AccountController Class > SendMessage Method

AccountControllerSendMessage Method

AuctionWorx 3.5 API
Processes a request to send a non-listing message

Namespace:  RainWorx.FrameWorx.MVC.Controllers
Assembly:  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: ActionResult
Redirect to "returnUrl" (success) or all messages view if missing or on error
See Also

Reference

Copyright © 2002-2022. RainWorx Software. All rights reserved.