PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Connection and time-out functions
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
Reads the value of the "time-out" for connecting to the SMTP, POP3 and IMAP messaging servers. The value of the "time-out" is set to 10 minutes by default. This value can be modified by EmailSetTimeOut.
Reminder: The time-out is the maximum amount of time allowed while waiting for a response from the SMTP, POP3 or IMAP messaging server. If the server does not respond within this time-out, the connection fails.
Versions 17 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Versions 20 and later
WINDEVLinux This function is now available for the WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for the WEBDEV sites in Linux.
New in version 20
WINDEVLinux This function is now available for the WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for the WEBDEV sites in Linux.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for the WEBDEV sites in Linux.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Versions 22 and later
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
New in version 22
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
Syntax
<Result> = EmailGetTimeOut()
<Result>: Integer
Value of time-out in seconds.
Note: A "time-out" is always defined on the server. Therefore, no error can be returned by EmailGetTimeOut.
Remarks

Connection and time-out functions

The connection functions (EmailStartSession, EmailStartPOP3Session and EmailStartSMTPSession) are locking functions during the entire connection. If the server does not respond, these functions are locking functions during the time-out duration.
Caution: The value of the time-out defined by EmailSetTimeOut has no correlation with the duration of EmailStartSession, EmailStartPOP3Session and EmailStartSMTPSession. Indeed, it is the duration of non response from the server. The time of the address resolution must be added to this duration.
For example, with a server that responds instantaneously, the connection can take 3 to 4 seconds if the DNS is slow (even if the time-out is set to 1 second).
Components
WINDEVWEBDEV - Server codeReports and Queries wd230com.dll
Windows Mobile wp230com.dll
Java wd230java.jar
Linux wd230com.so
Android wd230android.jar
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment