Dart Smtp, Pop, Imap Controls
DecodeBuf Method
String or Byte array. String to be decoded.
String or Byte array. Buffer to receive the decoded result.
The type of decoding to apply.
Description
Decode a single buffer.
Syntax
Visual Basic
Public Sub DecodeBuf( _
   ByVal SourceBuf As Variant, _
   ByRef DestBuf As Variant, _
   ByVal CodingType As CodingConstants _
) 
Parameters
SourceBuf
String or Byte array. String to be decoded.
DestBuf
String or Byte array. Buffer to receive the decoded result.
CodingType
ValueDescription
msgBase64Base 64
msgBinHex40BinHex 4.0
msgEucJpEucJp
msgIso2022JpIso-2022Jp
msgQuotedPrintableQuoted Printable
msgShiftJisShiftJis
msgUTF7UTF 7
msgUTF8UTF 8
msgUUEncodeUUENCODE
The type of decoding to apply.
Remarks

This function supports isolated decoding requirements such as header field interpretation. DecodeBuf does not affect the Message.

If DestBuf specifies a dimensioned Byte array or a non-empty String, it is redimensioned and filled with decoded data that may contain embedded nulls. If DestBuf specifies an undimensioned Byte array or empty String, it is dynamically expanded and filled. DestBuf must not be a fixed length String (String*100 will not work).

Error Codes

This method may generate the following error code (refer to MailErrorConstants for a complete list of error codes):

See Also

Message Object  | Message Members


PowerTCP Mail for ActiveX Documentation Version 2.13
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic