ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / Managing databases / HFSQL / HFSQL Client/Server functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Returns the list of recipients for a notification by email. This notification is sent by the HFSQL server when a problem occurs.
Example
cnxConnexionCS is Connection
cnxConnexionCS.Provider = hAccessHFClientServer
cnxConnexionCS.User = "admin"
cnxConnexionCS.MotDePasse = ""
cnxConnexionCS.Server = "test:4900"
HOpenConnection(cnxConnexionCS)

ListeDestEmail is string
ListeDestEmail = HNotifListEmailRecipient(cnxConnexionCS)

FOR EACH STRING UnDestinataire OF ListeDestEmail SEPARATED BY CR
	sDestinataire is string = ExtractString(UnDestinataire, 1, TAB)
	Notif is int = ExtractString(UnDestinataire, 2, TAB)
	NiveauNotif is string
	SWITCH Notif
		CASE hNotifError : NiveauNotif = "Niveau minimal : Erreurs"
		CASE hNotifWarning : NiveauNotif = "Niveau minimal : Avertissement"
		CASE hNotifCritical : NiveauNotif = "Niveau minimal : Critique"
	END
	Trace(sDestinataire + TAB + NiveauNotif)
END
Syntax
<Result> = HNotifListEmailRecipient(<Connection>)
<Result>: Character string
List of recipients for the notification by email. The list has the following format:
<Email Address of Recipient> + TAB + <Notification Level> + CR + ...

where:
  • <Adresse email du destinataire> string corresponding to the recipient's email address.
  • <Niveau de notification> is an integer constant corresponding to the minimum level of problem severity at which a notification is sent. The available values are as follows:
    hNotifCriticalThe notifications will be sent from the critical level (for the critical and error problems).
    hNotifErrorThe notifications will be sent for the error problems only.
    hNotifWarningThe notifications will be sent from the warning level (for the warning, critical and error problems).
<Connection>: Character string or Connection variable
Connection to use. This connection corresponds to:
Component: wd300hf.dll
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/12/2025

Send a report | Local help