HELO procedure - Perform initial handshaking with an SMTP server
The HELO procedure performs initial handshaking with the SMTP server after establishing the connection.
The HELO procedure allows the client to identify itself to the SMTP server. The EHLO procedure performs the equivalent functionality, but returns more information about the server.
Syntax
Parameters
- c
- An input or output argument of type CONNECTION that specifies the connection to the SMTP server over which to perform handshaking.
- domain
- An input argument of type VARCHAR(255) that specifies the domain name of the sending host.
- reply
- An optional output argument of type REPLY that returns a single reply line from the SMTP server. It is the last reply line if multiple reply lines are returned by the SMTP server.
Authorization
EXECUTE privilege on the UTL_SMTP module.
Usage notes
This procedure can be invoked using function invocation syntax in a PL/SQL assignment statement.