Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

void PRFC822Channel::SetHeaderField ( const PString name,
const PString value 

Set the and arbitrary header field. This must be called before any writes are done to the channel.

name  MIME fields tag
value  MIME fields contents

Definition at line 1571 of file inetmail.cxx.

Referenced by SetBCC(), SetCC(), SetContentAttachment(), SetContentType(), SetFromAddress(), SetSubject(), SetToAddress(), and SetTransferEncoding().

  if (writePartHeaders)
    partHeaders.SetAt(name, value);
  else if (writeHeaders)
    headers.SetAt(name, value);

Generated by  Doxygen 1.6.0   Back to index