OPEN_CONNECTION function - Return a connection handle to an SMTP server
The OPEN_CONNECTION function returns a connection handle to an SMTP server.
The function returns a connection handle to the SMTP server.
Syntax
Parameters
- host
- An input argument of type VARCHAR(255) that specifies the name of the SMTP server.
- port
- An input argument of type INTEGER that specifies the port number on which the SMTP server is listening.
- tx_timeout
- An input argument of type INTEGER that specifies the time out value, in seconds. To instruct the procedure not to wait, set this value to 0. To instruct the procedure to wait indefinitely, set this value to NULL.
Authorization
EXECUTE privilege on the UTL_SMTP module.