PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Adds recipients for the notifications sent by email. These notifications are sent when the HFSQL server encounters a problem.
Note: The sending by email is using the parameters specified by HNotifConfigure (email server, ...).
Note: From version 19, HFSQL is the new name of HyperFileSQL.
Example
ctCSConnection is Connection
ctCSConnection..Provider = hAccessHFClientServer
ctCSConnection..User = "admin"
ctCSConnection..Password = ""
ctCSConnection..Server = "test:4900"
HOpenConnection(ctCSConnection)

HNotifConfigure(ctCSConnection, hNotifEmail, "FLOWER:25", "test.doc", "doc", "doc@pcsoft.com", False)
HNotifAddEmailRecipient(ctCSConnection, "test.app@gmail.com", hNotifWarning)
Syntax
<Result> = HNotifAddEmailRecipient(<Connection Name> , <Recipient> , <Minimum Level>)
<Result>: Boolean
  • True if the recipient was added.
  • False otherwise. HErrorInfo is used to identify the error.
<Connection Name>: Character string (with or without quotes)
Name of connection to use. This connection was defined:
<Recipient>: Character string (with quotes)
Email address of recipient.
<Minimum Level>: Integer constant
Minimum level of gravity from which a notification is sent:
hNotifWarningThe notifications will be sent from the warning level (for the warning, critical and error problems).
Example of warning: The XX server and the YY server have different times. The resolution of conflicts during the replication may be incorrect."
hNotifCriticalThe notifications will be sent from the critical level (for the critical and error problems).
Example of critical error: "Error while preparing the replica on the master."
hNotifErrorThe notifications will be sent for the error problems only.
Example of error: "The statistical file for server activity is damaged. It will be reinitialized."
Versions 22 and later
hNotifInformation
New in version 22
hNotifInformation
hNotifInformation
The notifications will be sent from the information level (for the information, warning, critical and error problems)
Exemples of information:
  • During the automatic server update:
    • "The server will be stopped for update. Another notification will be added after the update."
    • "The server was updated to version XXX."
  • During the search for necessary keys on a database in exploitation.
The order of gravity is:
  • Versions 22 and later
    Information.
    New in version 22
    Information.
    Information.
  • Warning.
  • Error.
  • Critical.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230hf.dll
Linux wd230hf.so
Minimum required version
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment