Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






SetContentFromBytes method

Sets the content of the current MIME entity from an uninterpreted byte stream.

Note This method is new with Release 6.

Defined in

NotesMIMEEntity

Syntax

Call notesMIMEEntity.SetContentFromBytes( stream, contentType, encoding )

Parameters

stream

NotesStream. The byte input. This input replaces any existing content. If the stream is empty, any current content is removed.

contentType

String. Content type/subtype of input. This parameter generates a Content-Type header.

encoding

Constant of type Integer. The MIME transfer encoding, which should reflect the encoding of the input stream. This parameter generates a Content-Transfer-Encoding header. See also EncodeContent.

Usage

This method sets the stream Position at end of stream.

Language cross-reference

setContentFromBytes in Java MIMEEntity class

See examples

Examples: SetContentFromBytes method
Related topics
Working with a MIME entity in LotusScript classes




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009