Back to product page

BinHex4 Method


Encodes file using BinHex4 encoding.

Syntax

  • Basic
object.BinHex4 (InFile, OutFile)
The BinHex4(object,InFile,OutFile) syntax has these parts:
objectAn expression evaluating to an object of type SmtpEncoder
InFileRequired. A String value. holds full path to file on disk that is to be encoded
OutFileRequired. A String value. holds full path to file on disk where encoded file will be saved.

Remarks

Binhex4 method will encode file specified in InFile parameter and store it to file specified in OutFile parameter. BINHEX4 encoding will be used. If result file exists, it will be overwritten.

Resulting data is text-only file that can be safely transported over internet.

No headers are defined or added to current message object. If you want to add attachment, you should use Message.Attach method instead.

Platforms

Windows