Framework EDI Reference. Methods and Properties
mailMessage. UnZip

Decompresses or inflates the compressed body of the message and replaces the current message with the expanded data.

Syntax:

Parameter:

Returns:

Returns 1 if the operation is successful; otherwise returns 0 for failure.

Remarks:

When this method is called, it is assumed that the body of the message contains compressed data and is to be decompressed.  After decompression, the resulting expanded data replaces the entire message.  That is, if the expanded data contain both the header and the body, the old header and body are erased to be replaced with the new header and body of the expanded data.