Connor and Chris will both be at AI World from October 12 to October 17 , the premier Oracle conference of 2025. If you're in Vegas, please come say Hi or pop into our sessions
Thanks for the question, Tamil selvan.
Asked: June 20, 2018 - 8:03 am UTC
Last updated: June 22, 2018 - 3:03 am UTC
Version: 12C
Viewed 1000+ times
procedure mail_wrapper(p_recipient varchar2, p_content varchar2, ... ) is begin if lower(p_recipient) not like '%@%abc.com' then raise_application_error(-20000,'You can only email domain abc.com'); end if; ... ... rest of normal calls to utl_smtp ... end;
Check out more PL/SQL tutorials on our LiveSQL tool.
PL/SQL reference manual from the Oracle documentation library