Mime4.net Home | Community Edition | Order | Usage examples | Feedback
IContentHandler Body Method MIME4NET Class Library Documentation
Called when the body of a discrete (non-multipart) entity is about to be parsed.

Namespace: NI.Email.Mime
Assembly: NI.Email.Mime (in NI.Email.Mime.dll) Version: 1.8.5168.22709
Syntax

void Body(
	BodyDescriptor bd,
	Stream inputStream
)

Parameters

bd
Type: NI.Email.Mime BodyDescriptor

[Missing <param name="bd"/> documentation for "M:NI.Email.Mime.IContentHandler.Body(NI.Email.Mime.BodyDescriptor,System.IO.Stream)"]

inputStream
Type: System.IO Stream
the contents of the body. NOTE: this is the raw body contents - it will not be decoded if encoded. The bd parameter should be used to determine how the stream data should be decoded.
Exceptions

ExceptionCondition
IOExceptionshould be thrown on I/O errors.
See Also