SPMobileMessageSmsBuilder.BuildSmsMessage method

Creates the complete final XML of a Short Message Service (SMS) message for a specified recipient.

Namespace:  Microsoft.SharePoint.MobileMessage
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public static string BuildSmsMessage(
	SPMobileMessagingAccount account,
	string recipient,
	string messageText
)

Parameters

account
Type: Microsoft.SharePoint.MobileMessage.SPMobileMessagingAccount

The sender’s account with the messaging service.

recipient
Type: System.String

The recipient, typically identified by a mobile telephone number.

messageText
Type: System.String

The text for the message.

Return value

Type: System.String
The complete XML of the message for passing to the messaging service.
Show: