ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / SaaS functions
  • Need for SMTP settings
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
SaaSAdminConfigureSMTP (Function)
In french: SaaSAdminConfigureSMTP
Configures the SMTP session associated with the administrator account of a SaaS session.
Remarks:
  • To use this function, a SaaS management session must have been started previously with SaaSAdminConnect.
  • The use of this function is reserved to the SaaS administrator. A manager of client accounts cannot use this function.
Example
e is emailSMTPSession
e.ServerAddress = "smtp.monserveur.fr"
// ...
SaaSAdminConfigureSMTP(e)
Syntax
<Result> = SaaSAdminConfigureSMTP(<SMTP session> [, <Recipient> [, <Sender>]])
<Result>: Boolean
  • True if the configuration of SMTP session was successful,
  • False otherwise. To get more details on the error, use ErrorInfo.
<SMTP session>: emailSMTPSession variable
Name of the emailSMTPSession variable that contains the details about the SMTP session configuration (server, username, password, etc.).
<Recipient>: Optional character string
Email address of the recipient in blind carbon copy. If this parameter is not specified or is an empty string (""), it is ignored..
<Sender>: Optional character string
Sender email address. If this parameter is not specified or is an empty string (""), it is ignored..
Remarks

Need for SMTP settings

To manage forgotten passwords (by sending an Email containing the security code, function SaaSSendSecurityCode), you need to set the parameters of the SMTP session used:
  • via SaaSAdminConfigureSMTP.
  • via the interface of SaaS administrator.
Component: wd300com.dll
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help