Ok, that looks hard, but if you use this procedure I wrote, its really quite easy, it does all of the work for you: create or replace procedure html_email( p_to in varchar2, p_from in varchar2, p_subject in varchar2, p_text in varchar2 default null,…