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

PString PRFC822Channel::MultipartMessage (  ) 

Enter multipart MIME message mode. This indicates that the message, or individual part within a message as MIME is nestable, is a multipart message. This form returns the boundary indicator string generated internally which must then be used in all subsequent NextPart() calls.

Note this must be called before any writes are done to the message or part.

Definition at line 1460 of file inetmail.cxx.

References PString::sprintf().

  PString boundary;

  do {
    boundary.sprintf("PWLib.%lu.%u", time(NULL), rand());
  } while (!MultipartMessage(boundary));

  return boundary;

Generated by  Doxygen 1.6.0   Back to index