Send e mail through PL SQL code (UTL_SMTP, UTL_MAIL)


utl_smtp example:

UTL_MAIL: This is the new package introduced in 10g. even though this uses the UTL_SMTP in the background the advantage with this script is we can change the mail server and ports in the configuration file with out changing the code.