File Support – Base64 Encoding

In order to send message with a file attachment, you should encode your file to Base64 encoding.

The following application demonstrates how to read a file located on your local disk, encode it to Base64 and write the encoded file as a new file.