Message Object : EncodeBuf Method |
Visual Basic |
---|
Public Sub EncodeBuf( _ ByVal SourceBuf As Variant, _ ByRef DestBuf As Variant, _ ByVal CodingType As CodingConstants _ ) |
Value | Description |
---|---|
msgBase64 | Base 64 |
msgBinHex40 | BinHex 4.0 |
msgEucJp | EucJp |
msgIso2022Jp | Iso-2022Jp |
msgQuotedPrintable | Quoted Printable |
msgShiftJis | ShiftJis |
msgUTF7 | UTF 7 |
msgUTF8 | UTF 8 |
msgUUEncode | UUENCODE |
This function is provided to support isolated encoding requirements such as header label generation. This method does not affect the Message Object.
If DestBuf specifies a dimensioned Byte array or a non-empty String, it is redimensioned and filled with encoded 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).
This method may generate the following error code (refer to MailErrorConstants for a complete list of error codes):