我有以下代码,我的任务是将'eFrom'
值从更改'anonymous'
为'no-response'
。我不知道值存储在哪里或如何找到它。现在,该过程发送一封电子邮件,其发件人值为'anonymous@mail.com'
。有谁知道我如何找到它的值'eFrom'
或它存储在哪个表中?我目前正在使用 Oracle SQL Developer。
create or replace PROCEDURE SEND_MAIL
(eTo IN VARCHAR2,
eFrom IN VARCHAR2,
eCC IN varchar2,
eSubject IN VARCHAR2,
eMessage IN CLOB) AS
BEGIN
execute immediate 'alter session set smtp_out_server = ' || chr(39) || 'mail.com' || chr(39);
UTL_MAIL.send(sender => eFrom,
recipients => eTo,
cc => eCC,
subject => eSubject,
message => eMessage,
mime_type => 'text/html; charset=utf-8');
END;