PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

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
Specifies and configures the server used to send notifications by the HFSQL server. This sending can be performed:
  • By email: the server to configure is a SMTP server.
  • Via the Control Centers (WDBal messaging tool). The Control Centers can use an HFSQL Classic database or an HFSQL Client/Server database.
Remark: 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"
ctCSConnection.OpenConnection()
 
ctCSConnection.NotifConfigure(hNotifCCCS, "DOC:4988", "CC_DOC", "DOC", "")
ctCSConnection is Connection
ctCSConnection.Provider = hAccessHFClientServer
ctCSConnection.User = "admin"
ctCSConnection.Password = ""
ctCSConnection.Server = "test:4900"
ctCSConnection.OpenConnection()
 
ctCSConnection.NotifConfigure(hNotifEmail, "FLOWER:25", "test.doc", "doc", "doc@pcsoft.com", False)
Syntax

Configurer l'envoi de mails via un serveur SMTP Hide the details

<Résultat> = <Connexion>.NotifConfigure(<Type de notifications> , <Serveur SMTP> , <Login> [, <Mot de passe>] , <Expéditeur> , <Session sécurisée>)
<Résultat>: Booléen
  • True if the configuration was performed.
  • False otherwise. HErrorInfo is used to identify the error.
<Connexion>: Variable de type Connexion
Name of the Connection variable that describes the connection to use.
<Type de notifications>: Constante de type Entier
Type of sending:
hNotifEmailThe notifications are sent by email.
<Serveur SMTP>: Chaîne de caractères
DNS name or IP address of email server (outgoing protocol). This IP address is supplied by the service provider or by the network administrator.
Caution: You must use the SMTP server of the provider of Internet connection.
<Login>: Chaîne de caractères
Login used to connect to the SMTP server.
<Mot de passe>: Chaîne de caractères optionnelle
Password associated with the connection login on the SMTP server. This password is given by the service provider or by the network administrator.
If this parameter is not specified, the former value is automatically used.
<Expéditeur>: Chaîne de caractères
Email address used as sender in the notification emails.
<Session sécurisée>: Booléen
  • True to start a session secured by the TLS protocol.
  • False otherwise.

Configurer l'envoi de messages dans WDBal (Centres de Contrôle en Client/Serveur) Hide the details

<Résultat> = <Connexion>.NotifConfigure(<Type de notifications> , <Serveur Centre de Contrôle> , <Base de données Centre de Contrôle> , <Login> [, <Mot de passe>])
<Résultat>: Booléen
  • True if the configuration was performed.
  • False otherwise. HErrorInfo is used to identify the error.
<Connexion>: Variable de type Connexion
Name of the Connection variable that describes the connection to use.
<Type de notifications>: Constante de type Entier
Type of sending:
hNotifCCCSThe notifications are sent by the Control Centers in Client/Server mode.
<Serveur Centre de Contrôle>: Chaîne de caractères
DNS name or IP address of the HFSQL server hosting the Control Centers.
<Base de données Centre de Contrôle>: Chaîne de caractères
Name of the database used for the Control Centers.
<Login>: Chaîne de caractères
Login used to connect to the HFSQL server and to the database of Control Centers.
<Mot de passe>: Chaîne de caractères
Password associated with the connection login.
If this parameter is not specified, the former value is automatically used.

Configurer l'envoi de messages dans WDBal (Centres de Contrôle en HFSQL Classic) Hide the details

<Résultat> = <Connexion>.NotifConfigure(<Type de notifications> , <Chemin Centre de Contrôle> , <Login> [, <Mot de passe>])
<Résultat>: Booléen
  • True if the configuration was performed.
  • False otherwise. HErrorInfo is used to identify the error.
<Connexion>: Variable de type Connexion
Name of the Connection variable that describes the connection to use.
<Type de notifications>: Constante de type Entier
Type of sending:
hNotifCCClassicThe notifications are sent by the Control Centers in HFSQL Classic mode.
<Chemin Centre de Contrôle>: Chaîne de caractères
Access path to the HFSQL Classic data files of Control Centers.
<Login>: Chaîne de caractères
Login used to connect to the database of Control Centers.
<Mot de passe>: Chaîne de caractères
Password associated with the connection login.
If this parameter is not specified, the former value is automatically used.

Récupérer les paramètres de la configuration actuelle Hide the details

<Résultat> = <Connexion>.NotifConfigure(<Type de notifications>)
<Résultat>: Chaîne de caractères
List of parameters corresponding to the requested configuration (caution, the passwords are not supplied).
The result has the following format:
with the hNotifCCClassic constant:<Control Centre Path> + CR + <Login>
with the hNotifCCCS constant:<Control Center Server> + CR + <Control Center Database> + CR + <Login>
with the hNotifEmail constant:<SMTP server> + CR + <Login> + CR + <Sender> + CR + <Secure session>
<Connexion>: Variable de type Connexion
Name of the Connection variable that describes the connection to use.
<Type de notifications>: Constante de type Entier
Type of sending for which the configuration is requested:
hNotifCCClassicThe notifications are sent by the Control Centers in HFSQL Classic mode.
hNotifCCCSThe notifications are sent by the Control Centers in HFSQL Client/Server mode.
hNotifEmailThe notifications are sent by email.
Component: wd270hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment