MailEnvelope2.Intro property
Gets or sets the introduction in the body of the e-mail message.
Namespace: Microsoft.Office.Interop.InfoPath
Assembly: Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)
Syntax
'Declaration
Property Intro As String
Get
Set
'Usage
Dim instance As MailEnvelope2
Dim value As String
value = instance.Intro
instance.Intro = value
string Intro { get; set; }
Property value
Type: System.String
The introduction in the body of the e-mail message.
Examples
The following example sets a reference to the MailEnvelope2 object, sets envelope properties, and then displays the e-mail envelope.
MailEnvelope2 myEnv =
(MailEnvelope2)thisApplication.ActiveWindow.MailEnvelope;
myEnv.To = "someone@example.com";
myEnv.CC = "someone@example.com";
myEnv.BCC = "someone@example.com";
myEnv.Subject = "Test e-mail message";
myEnv.Intro = "This is the InfoPath form you requested.";
// Display form with e-mail envelope.
myEnv.Visible = true;