ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / Managing emails
  • Error codes and associated messages
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
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.
Linux It is recommended to use ErrorInfo instead of EmailMsgError.
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.
// Envoie le mail
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 error12: Unable to open attached file
1: Abandonment requested by user13: Unable to write attached file
2: Unknown error14: Unknown recipient
3: Unable to connect15: Wrong format for recipient address
4: Disk full16: No message
5: More memory available17: Invalid message
6: No access18: Message text too long
8: Too many open sessions19: 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 found26: The protocol is not supported by the server
10004: System interruption10053: The software has stopped the connection
10009: Wrong file number10054: Connection disconnected by host
10013: Permission denied10055: Buffer too small
10014: Invalid address10056: Connection already established
10022: Invalid argument10057: Socket not connected
10035: Operation not completed10058: Socket implementation failed
10036, 10037: An operation is in progress10060: Time out
10038: Invalid socket10061: Connection refused
10040: A destination address must be specified10063: File name too long
10041, 10042, 10043: TCP IP protocol not supported10064: Host has cut connection
10044: Socket type not supported10065: Host is unreachable
10045: Operation not supported by socket10091: Network inaccessible
10046, 10047: TCP IP protocol not supported10092: Wrong version of the Winsock DLL
10048: Address already in use10093: Network implementation not initialized
10049: Address not found10101: Socket disconnected
10050: The network is down11001 - 11002: Host not found
10051: Network inaccessible11003: Unknown error
10052: The network has cut the connection during a reset11004: Impossible to answer request, data does not exist
Component: wd300com.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help