 
 -- init: set up mailgun parameters
 --   default is to not change the given parameter
+--   for details refer to:
+--https://github.com/jeffreykemp/mailgun-plsql-api/wiki/API-Reference#procedure-init
 procedure init
   (p_public_api_key       in varchar2 := default_no_change
   ,p_private_api_key      in varchar2 := default_no_change

create or replace package mailgun_pkg is
/* mailgun API v0.6
  by Jeffrey Kemp
*/


-- remove an email address from the complaint list
procedure delete_complaint (p_email_address in varchar2);

-- Send a test email.
-- Settings can be overridden just for this call (i.e. they won't be saved)
-- e.g. to test whether new settings will work.
procedure send_test_email
  (p_from_name       in varchar2 := null
  ,p_from_email      in varchar2 := null
  ,p_to_name         in varchar2 := null
  ,p_to_email        in varchar2
  ,p_subject         in varchar2 := null -- if null, a subject will be generated
  ,p_message         in varchar2 := null -- if null, a message will be generated
  ,p_private_api_key in varchar2 := default_no_change
  ,p_my_domain       in varchar2 := default_no_change
  ,p_api_url         in varchar2 := default_no_change
  ,p_wallet_path     in varchar2 := default_no_change
  ,p_wallet_password in varchar2 := default_no_change
  );

end mailgun_pkg;
/

