sql - ORA-29279: 永久错误: 554 5.7.1 中继访问被拒绝
问题描述
得到 ORA-29279 中继访问被拒绝错误。
代码见图片。在此处输入图像描述
enter code here
BEGIN
UTL_MAIL.send(sender => 'asd@gmail.com',
recipients => 'sdfs@gmail.com',
cc => 'erte@gmail.com',
bcc => 'retr@gmail.com',
subject => 'UTL_MAIL Test',
message => 'If you get this message it worked!');
END;
/
解决方案
您必须在该服务器 ip 上获得中继权限,然后才能发送电子邮件。