The EncodedText property is used to specify the encoded
value of a string, or return the encoded value of a plain text
(decoded) string. If the property is set, the current value will be
changed to the encoded value, and the DecodedText property
will return the plain text value of the encoded string. If the
property is read, it will return the encoded value of the
DecodedText property.
The control will use the value of the Encoding property to
determine how the text should be encoded. Note that only base64 and
quoted-printable encoding is supported when encoding a string using
this property. To encode the contents of a file, it's recommended
that you use the EncodeFile method.
This property only supports encoding text using the UTF-8 or ASCII
character set. If you need to encode text using a different character
set, you should use the
EncodeText
method in the Mail Message
control. It is a component which is used to create and parse MIME
formatted messages, and it is capable of encoding text using a variety
of different character sets.