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

void PRFC822Channel::NewMessage ( Direction  direction  ) 

Begin a new message. This may be used if the object is to encode 2 or more messages sequentially. It resets the internal state of the object.

Parameters:
direction  Indicates are sending or receiving a message

Definition at line 1447 of file inetmail.cxx.

References NextPart().

{

  NextPart(""); // Flush out all the parts

  boundaries.RemoveAll();
  headers.RemoveAll();
  partHeaders.RemoveAll();
  writeHeaders = direction == Sending;
  writePartHeaders = FALSE;
}


Generated by  Doxygen 1.6.0   Back to index