ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / SaaS functions
  • Need for SMTP settings
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
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.myserver.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. This parameter is ignored if it is not specified or if it corresponds to an empty string ("").
<Sender>: Optional character string
Sender email address. This parameter is ignored if it is not specified or if it corresponds to an empty string ("").
Remarks

Need for SMTP settings

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

Last update: 09/19/2022

Send a report | Local help