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

void PRFC822Channel::SetContentType ( const PString contentType  ) 

Set the content type. This must be called before any writes are done to the channel. It may be set again immediately after any call to NextPart() when multipart mime is being used.

The default Content-Type is "text/plain".

contentType  Content type in form major/minor

Definition at line 1544 of file inetmail.cxx.

References SetHeaderField().

  SetHeaderField(ContentTypeTag, contentType);

Generated by  Doxygen 1.6.0   Back to index