wodMailbox ActiveX Control - Base64Data Method
      
 

Description

Encodes byte array using Base64Data encoding.


Return Type

None  


Syntax

object.Base64Data InData(), OutData()



The Base64Data Method syntax has these parts:

Part Description
object An expression evaluating to an object of type Encoder.
InData() Required. An byte array. Holds array of data that will be encoded.
OutData() Required. An empty byte array. Will be populated with new byte array with encoded data.

Remarks

Base64Data method will encode data in byte array (SAFEARRAY(unsigned char) for C++ users) specified in InData parameter and store it to new byte array specified in OutData parameter. BASE64 encoding will be used. If OutData parameter points to existing array, it will be destroyed.

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 Attachments.Add method instead.