DecodeWord method: MCFMailUtil class
Syntax
DecodeWord(WordToDecode, &DecodedWord)
Description
Use the DecodeWord method to decode a word. If you want to decode a string, use the DecodeText method instead.
The word is decoded based on the values used with the EncodeWord method.
The decoded word is placed in the &DecodedWord parameter.
This method returns true if successful. If the return value is false, the following MCFMailUtil properties are set accordingly:
-
ErrorDescription
-
ErrorDetails
-
ErrorMsgParamsCount
-
MessageNumber
-
MessageSetNumber
In addition you can use the GetErrorMsgParam method to return each of the substitution strings used to format the error message.
Parameters
| Parameter | Description |
|---|---|
|
WordToDecode |
Specify the word that is to be decoded, as a string. |
|
&DecodedWord |
Specify a string variable, used to hold the decoded word. |
Returns
A Boolean value: true if successful, false otherwise.
Related Topics