|
|
|
|
|
- Error codes and associated messages
EmailMsgError (Function) In french: EmailMsgErreur Returns the message corresponding to the error identifier. To get more details on the error, use ErrorInfo with the errMessage constant.
All the functions for email management return a result indicating whether the function was performed or not. If an error occurred, these functions return 0 or False. The Email.Error variable contains the identifier of the error that occurred.
IF EmailSendMessage(NomUser) = False THEN
Error(EmailMsgError(Email.Error))
END
Syntax
<Result> = EmailMsgError(<Error number>)
<Result>: Character string Full error message. <Error number>: Integer Identifier of the error. The Email.Error variable contains the identifier of the last error that occurred when using the functions for email management. Remarks Error codes and associated messages The corresponding codes are: | | 0: No error | 12: Unable to open attached file | 1: Abandonment requested by user | 13: Unable to write attached file | 2: Unknown error | 14: Unknown recipient | 3: Unable to connect | 15: Wrong format for recipient address | 4: Disk full | 16: No message | 5: More memory available | 17: Invalid message | 6: No access | 18: Message text too long | 8: Too many open sessions | 19: Invalid session | 9: Too many files attached (10 maximum) | 21: Ambiguous recipient address | 10: Too many recipients (20 recipients) | 23: Network error | 11: Attachment not found | 26: The protocol is not supported by the server | 10004: System interruption | 10053: The software has stopped the connection | 10009: Wrong file number | 10054: Connection disconnected by host | 10013: Permission denied | 10055: Buffer too small | 10014: Invalid address | 10056: Connection already established | 10022: Invalid argument | 10057: Socket not connected | 10035: Operation not completed | 10058: Socket implementation failed | 10036, 10037: An operation is in progress | 10060: Time out | 10038: Invalid socket | 10061: Connection refused | 10040: A destination address must be specified | 10063: File name too long | 10041, 10042, 10043: TCP IP protocol not supported | 10064: Host has cut connection | 10044: Socket type not supported | 10065: Host is unreachable | 10045: Operation not supported by socket | 10091: Network inaccessible | 10046, 10047: TCP IP protocol not supported | 10092: Wrong version of the Winsock DLL | 10048: Address already in use | 10093: Network implementation not initialized | 10049: Address not found | 10101: Socket disconnected | 10050: The network is down | 11001 - 11002: Host not found | 10051: Network inaccessible | 11003: Unknown error | 10052: The network has cut the connection during a reset | 11004: Impossible to answer request, data does not exist |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|