PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • Need for SMTP setting
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
SaaSAdminConfigureSMTP (Function)
In French: SaaSAdminConfigureSMTP
Configures the SMTP session associated with the administrator account of a SaaS session.
Notes:
  • To use this function, a SaaS management session must have been started beforehand by 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 find out the error details, use ErrorInfo.
<SMTP Session>: emailSMTPSession variable
Name of emailSMTPSession variable containing information about the configuration of SMTP session (server, login, password, ...).
<Recipient>: Optional character string (with quotes)
Email address of recipient in hidden copy. This parameter is ignored if it is not specified or if it corresponds to an empty string ("").
<Sender>: Optional character string (with quotes)
Email address of sender. This parameter is ignored if it is not specified or if it corresponds to an empty string ("").
Remarks

Need for SMTP setting

The management of forgotten passwords (send an email containing the security code, SaaSSendSecurityCode) requires the setting of the SMTP session used:
  • via SaaSAdminConfigureSMTP.
  • via the interface of SaaS administrator.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230com.dll
Linux wd230com.so
Minimum required version
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment