EmailHeaders
Class EmailHeaders
| Method Prototype | Description
|
| Sub AppendHeader( name As String, value As String) | add a new header to the EmailMessage and set its value
|
| Function CommaSeparatedValues( name As String ) As String | get the named header as a comma separated string
|
| Sub Constructor() | initialize to default options
|
| Function Count() As Integer | get the number of headers
|
| Sub Delete( name As String ) | remove the specified header
|
| Sub DeleteAllHeaders() | remove all headers
|
| Function Name( index As Integer ) As String | get the name of the header at the specified index
|
| Function NameCount( name As String ) As Integer | get the number of headers with the specified name
|
| Sub SetHeader( name As String, value As String) | set the name and value of a header.
|
| Function Source() As String | get the raw source of the header as a string
|
| Function Value( name As String, index As Integer ) As String | get the value of specified header as a string
|
The EmailHeader class allows you to set and modify an
EmailMessage's header values. See also
InternetHeaders. Common uses for EmailHeaders include identifying the email program and specifying the priority level. Refer to
RFC 2822 for more information.