ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

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"
cnxConnexionCS.OpenConnection()

ListeDestEmail is string
ListeDestEmail = cnxConnexionCS.NotifListEmailRecipient()

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> = <Connection>.NotifListEmailRecipient()
<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>: Connection variable
Name of the Connection variable that describes the connection to use.
Component: wd300hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/25/2024

Send a report | Local help