|
|
|
|
|
- Connection and timeout functions
EmailSetTimeOut (Function) Changes the value of the "timeout" for connecting to the SMTP, POP3 and IMAP messaging servers. The value of the "timeout" is set to 10 minutes by default. This value is returned by EmailGetTimeOut. Reminder The timeout is the maximum length of time the mail server will remain unanswered. If the server does not respond within this timeout, the connection fails.
Sintaxis
EmailSetTimeOut(<Timeout Duration>)
<Timeout Duration>: Integer or duration Timeout value in seconds. This parameter can correspond to: - an integer corresponding to the number of seconds,
- a Duration variable,
- the duration in a readable format (e.g., 1 s).
Observaciones Connection and timeout functions Note The timeout value defined with the EmailSetTimeOut FUNCTION function only concerns the time spent waiting for a response from the mail server. The real execution time of EmailStartSession, EmailStartPOP3Session and EmailStartSMTPSession can be greater than this value (for a slow DNS for example).
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|