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.