.NET Components
Chilkat .NET Components for Email, Zip Compression, Encryption, XML, S/MIME, and Character Encoding Conversion

Back to Email Class Summary

Email::AddHeaderField

Any standard or non-standard (custom) header field can be added to the email with this method. One interesting feature is that all header fields whose name begins with "CKX-" will not be included in the header when an email is sent. These fields will be included when saved to or loaded from XML. This makes it easy to include persistent meta-data with an email which your programs can use in any way it chooses.

  Declarations  
    [Visual Basic]
Public Sub AddHeaderField(ByVal String fieldName , ByVal String fieldValue)

[C#]
public void AddHeaderField(string fieldName , string fieldValue);

[C++]
public void AddHeaderField(String *fieldName , String *fieldValue);

[JScript]
public function AddHeaderField(String fieldName , String fieldValue);
 
  Parameters  
   
fieldName
Header field name
fieldValue
Header field value
 

Copyright 2002, Chilkat Software, Inc. All Rights Reserved.