UTL_SMTP question

UTL_SMTP question

 

  


Hi,
In our database package we send email to some persons.
For this we open connection with mail server as :

vconn := utl_smtp.open_connection(veml_svr, vport);
vreply := utl_smtp.helo(vconn, veml_svr);

here vconn is connection of type UTL_SMTP.CONNECTION and vreply
is type of UTL_SMTP.REPLY.

I have a doubt here when connection is done it returns 250 in
vreply.code. But what happens if connection could not be established for
any reason, does it returns some other code or raises an exception.


Thanks

VIJAY

Oracle LazyDBA home page