Initializes EmailTemplate class objects.
Namespace: Microsoft.Clm.Shared.ProfileTemplates
Assembly: Microsoft.Clm.Shared (in microsoft.clm.shared.dll)

Usage

Visual Basic
Dim subject As String
Dim body As String
Dim from As String
Dim to As String

Dim instance As New EmailTemplate(subject, body, from, to)

Syntax

Visual Basic
Public Sub New ( _
		subject As String, _
		body As String, _
		from As String, _
		to As String _
)
C#
public EmailTemplate (
		string subject,
		string body,
		string from,
		string to
)
C++
public:
EmailTemplate (
		String^ subject, 
		String^ body, 
		String^ from, 
		String^ to
)
J#
public EmailTemplate (
		String subject, 
		String body, 
		String from, 
		String to
)
JScript
public function EmailTemplate (
		subject : String, 
		body : String, 
		from : String, 
		to : String
)

Parameters

subject

A String object that contains the e-mail subject for the e-mail template.

body

A String object that contains the e-mail body text for the e-mail template.

from

A String object that contains the e-mail originator for the e-mail template.

to

A String object that contains the e-mail recipient for the e-mail template.

Platforms

Development Platforms

Windows 2008 x64 Edition

Target Platforms

Windows XP SP3, Windows Vista SP1+, Windows 7, Windows Server 2008, Windows Server 2008 R2

See Also