我正在尝试使用oracle 11g
如下方式发送电子邮件。
begin
utl_mail.send(
sender => 'user@xxx.com',
recipients => 'user@gmail.com',
message => 'Hello World'
);
但我得到了以下错误。
ORA-29279: SMTP permanent error: 530 5.5.1 http://support.google.com/mail/bin/answer.py?answer=14257 ph1sm17301835pbb.45
ORA-06512: at "SYS.UTL_MAIL", line 654
ORA-06512: at "SYS.UTL_MAIL", line 671
ORA-06512: at line 2
29279. 00000 - "SMTP permanent error: %s"
*Cause: A SMTP permanent error occurred.
*Action: Correct the error and retry the SMTP operation.
我怎么能解决这个问题?