Share via


EmailTemplate Constructor

Initializes EmailTemplate class objects.

Namespace: Microsoft.Clm.Shared.ProfileTemplates
Assembly: Microsoft.Clm.Shared (in Microsoft.Clm.Shared.dll)

Usage

'Usage
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

'Declaration
Public Sub New ( _
    subject As String, _
    body As String, _
    from As String, _
    to As String _
)
public EmailTemplate (
    string subject,
    string body,
    string from,
    string to
)
public:
EmailTemplate (
    String^ subject, 
    String^ body, 
    String^ from, 
    String^ to
)
public EmailTemplate (
    String subject, 
    String body, 
    String from, 
    String to
)
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

Reference

EmailTemplate Class
EmailTemplate Members
Microsoft.Clm.Shared.ProfileTemplates Namespace