|
|
|
|
- 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.
// Sends the email IF EmailSendMessage(UserName) = 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 the attachment | 1: User-requested cancellation | 13: Unable to write the attachment | 2: Unknown error | 14: Unknown recipient | 3: Unable to connect | 15: Wrong format for the recipient address | 4: Disk full | 16: No message | 5: Out of memory | 17: Invalid message | 6: Access denied | 18: Message text too long | 8: Too many opened sessions | 19: Invalid session | 9: Too many attachments (up to 10 files) | 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 connection was stopped by the software | 10009: Wrong file number | 10054: Connection terminated by the host | 10013: Permission refused | 10055: Buffer too small | 10014: Invalid address | 10056: The connection is already established | 10022: Invalid argument | 10057: The socket is not connected | 10035: Operation not completed | 10058: Unable to implement the socket | 10036, 10037: An operation is in progress | 10060: Timeout | 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: The connection was cut by the host | 10044: Type of socket not supported | 10065: The host cannot be accessed | 10045: Operation not supported by the socket | 10091: Unavailable network | 10046, 10047: TCP IP protocol not supported | 10092: Bad version of Winsock DLL | 10048: The address is already used | 10093: Network implementation not initialized | 10049: Address not found | 10101: Socket disconnected | 10050: The network is cut | 11001 - 11002: Host not found | 10051: Unavailable network | 11003: Unknown error | 10052: The connection was cut by the network during a reset | 11004: Unable to answer the request, the data does not exist |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|