ex_HTTP_timeout
Specifies the maximum time to wait for an HTTP request or response from Exchange Server.
Member of namespace
EwsmailSyntax
bool ex_HTTP_timeout (int nSecs)Parameters
String nSecsParameters
nSecs : The maximum number of seconds to wait.Returns
Always True.Level
Batch level Open event only.Details
The maximum time to wait for an HTTP request or response from Exchange Server. For example, this may be used by the ex_scan action while trying to ingest a very large email that may otherwise result in import failing due to the operation timing out. This timeout is in addition to any server-side timeout configuration settings.If this action is not called, the timeout defaults to 100 seconds.
- Example:
ex_HTTP_timeout("60") ex_scan()This example causes the timeout to be set to 60 seconds. When ingesting emails, any response exceeding this value may fail.