Set the value of a header field in the current message part. 
         
        Syntax
        
          object.SetHeader( HeaderField, HeaderValue ) 
         
        Parameters
        
          
            - HeaderField
 
            - A string which specifies the name of the header field to create
            or modify. If the header field does not exist, then it will be
            created. If the header field does exist, the value will be
            overwritten.
 
            - HeaderValue
 
            - A string which specifies the value of the specified header
            field.
 
           
         
        Return Value
        
          A boolean value of True is returned if the method succeeds,
          otherwise a value of False is returned. For more information about the
          cause of the failure, check the value of the LastError property. 
         
        Remarks
        
          The SetHeader method creates or changes the value of the
          specified header field in the current message part. If the header
          does not exist, it will be created with the new value. If the header
          does exist, its current value will be replaced by the new value. 
         
        See Also
        
          MessagePart Property,
          GetFirstHeader Method, 
          GetHeader Method, 
          GetNextHeader Method 
         
       |