MailSubscriptionHandlerSetMailMessageContent Method Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Sets a new Html body an text body of a message.

Namespace: ContentStudio.Document.Subscription.EventHandler
Assembly: CSSubscriptionEventHandler (in CSSubscriptionEventHandler.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

protected void SetMailMessageContent(
	string newHtmlBody,
	string newBody
)

Parameters

newHtmlBody
Type: SystemString
The new HTML body to send.
newBody
Type: SystemString
The new body to send.
Exceptions

ExceptionCondition
InvalidOperationException'Message' is not intialized
Remarks

Inheriting classes can call this method from the ValidateMessage(SubscriptionInformation) method when it needs to update the message content before it is sent out to a subscriber.
See Also

Reference