CustomHeaders Collection (Dundas Mailer Control 1.0)

Dundas

CustomHeaders Collection (Dundas Mailer Control 1.0)

Stores CustomHeader objects. This collection is 0-based and determines the custom headers to be added to the email message (unless you are using the QuickSend method).

Remarks

This collection specifies the custom headers to be added to the email.

The CustomHeaders collection supports the following methods and properties:

  • Add(Name as string, Value as string). Adds a CustomHeader object to the collection.

  • Remove(Index). Removes a particular object from the collection.

  • Count (read-only property). The number of CustomHeader objects stored in the collection.

  • Item(Index). Used to retrieve a particular object from the collection.

  • Clear(). Removes all CustomHeader objects from the collection.

If the header is specific for your application then by convention the header name should start with the characters "X-".

Custom headers are very helpful if you want to automate your Internet messaging application, since headers are at the top of messages and require less reading as compared to the whole message.

The QuickSend function does not use this collection.

See Also: CustomHeader Object | Add Method | Remove Method | Clear Method | Item Method | Count Property