ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL Client/Server functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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
ctCSConnection is Connection
ctCSConnection.Provider = hAccessHFClientServer
ctCSConnection.User = "admin"
ctCSConnection.Password = ""
ctCSConnection.Server = "test:4900"
HOpenConnection(ctCSConnection)
 
ListEmailRecip is string
ListEmailRecip = HNotifListEmailRecipient(ctCSConnection)
 
FOR EACH STRING ARecipient OF ListEmailRecip SEPARATED BY CR
sRecipient is string = ExtractString(ARecipient, 1, TAB)
Notif is int = ExtractString(ARecipient, 2, TAB)
NotifLevel is string
SWITCH Notif
CASE hNotifError: NotifLevel = "Minimum level: Errors"
CASE hNotifWarning: NotifLevel = "Minimum level: Warning"
CASE hNotifCritical: NotifLevel = "Minimum level: Critical"
END
Trace(sRecipient + TAB + NotifLevel)
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:
  • <Email Address of Recipient>: character string corresponding to the email address of the recipient.
  • <Notification Level>: integer constant corresponding the minimum severity level of the problem from 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: wd290hf.dll
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/06/2023

Send a report | Local help