Description
-
Adds new header to the collection.
Return Type
-
A SmtpHdr
object. Reference to new header that was
created.
Syntax
-
object.Add (Name,
[Value])
The Add Method syntax has these parts:
| object |
An expression
evaluating to an object of type SmtpHdrs. |
| Name |
Required. A String
value. Specifies Name of new header. |
| Value |
Optional. A Variant
value. Specifices 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.
|