Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Procedure fails SMTP mailhost?
Alex,
This is an error from the SMTP server saying that you're not authorized to relay mail. This is generally the default configuration these days, cause otherwise, the SMTP server would be abused by spammers.
Relaying is defined as sending mail where neither the From nor To addresses are the SMTP host itself.
You need to talk to your admininstrator and get your Oracle server box added to the list of valid relays for the SMTP server. This is a configuration change on the SMTP server, not the database server.
Hope that helps,
-Mark
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Alex
Sent: Wednesday, September 29, 2004 2:06 PM
To: rjamya
Cc: oracle-l_at_freelists.org
Subject: Re: Procedure fails SMTP mailhost?
I got the name, but the proc fails with:
=20
ERROR at line 1:
ORA-29278: SMTP transient error: 421 Service not available ORA-06512: at "SYS.UTL_SMTP", line 17 ORA-06512: at "SYS.UTL_SMTP", line 96 ORA-06512: at "SYS.UTL_SMTP", line 138 ORA-06512: at "SYS.MAILOUT", line 17 ORA-06512: at line 1
Raj
On Wed, 29 Sep 2004 10:53:51 -0700 (PDT), Alex wrote:
> Hello,
>=20
> This must be a simple question, but I can't seem to be finding the =
answer. How do I find out what is the SMTP gateway. I am testing a =
procedure to send email, and getting an error:
>
-- http://www.freelists.org/webpage/oracle-l -- http://www.freelists.org/webpage/oracle-lReceived on Wed Sep 29 2004 - 13:07:48 CDT
![]() |
![]() |