| Visual Basic (Usage) | Copy Code |
|---|---|
Dim header As String Dim instance As New MailHeader(header) | |
Parameters
- header
- A String containing CRLF delimited header fields and labels, ASCII encoded, terminated with CRLFCRLF.
The following example demonstrates
| Visual Basic | Copy Code |
|---|---|
' Be sure to import the namespace by putting "Imports Dart.PowerTCP.Mail"
' at the top of your class. | |
| C# | Copy Code |
|---|---|
// Be sure to import the namespace by putting "using Dart.PowerTCP.Mail;"
// at the top of your class. | |
This constructor creates a new instance of the MailHeader class, filling the object with the data contained within header. header should contain header fields and labels in the format "label: field" and should be delimited with CRLFs. If a header field is added that is also encapsulated by a high-level property (for example, the "Subject:" header line is also encapsulated by MessageStream.Subject) the data will be propagated to this property.
Target Platforms: Microsoft .NET Framework 2.0