Numeric. The function returns the number that represents the last mail-related error code.
For Java Mail Framework, the return value = -1 depicts error and the return value = 0 depicts success.
For Legacy framework, the return value <0 depicts error and the return value = 0 depicts success. Since version: 4.6.1
|