The EHLO procedure performs initial handshaking with the
SMTP server after establishing the connection.
The EHLO procedure allows the client to identify itself
to the SMTP server. The HELO procedure performs the
equivalent functionality, but returns less information about the server.
Syntax
>>-UTL_SMTP.EHLO--(--c--,--domain--+------------+--)-----------><
'-,--replies-'
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.
- replies
- An optional output argument of type REPLIES that return multiple
reply lines from 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.