Description
-
Adds new header to the collection.
Return Type
-
A Header
object.
Syntax
-
object.Add (Name,
[Value])
The Add Method syntax has these parts:
object |
An expression evaluating to an object
of type Headers. |
Name |
Required. A String value. Specifies
Name of new header. |
Value |
Optional. A Variant value. String
expression that specifies Value of new header. |
Remarks
-
Add method will create new Header object and add it to
headers collection. This is very useful method when
you're creating new mail message, because using Add you
will specify and add all the headers that will exist in
your future email message.
|