My Oracle Support Banner

ORA-29279 Relay Errors When Using UTL_SMTP to Send Email (Doc ID 402678.1)

Last updated on AUGUST 04, 2018

Applies to:

PL/SQL - Version 10.2.0.5 and later
Information in this document applies to any platform.
***Checked for relevance on 04th Aug 2018***

Symptoms

Running UTL_MAIL and getting an error as follows:

ORA-29279: SMTP permanent error: 551 <john.doe@anydomain.com>... we do not relay

Where <john.doe@anydomain.com>... is the senders email address.

Or:

ORA-29279: SMTP permanent error: 550 5.7.1 Unable to relay for <john.doe@anydomain.com>
ORA-06512: at "SYS.UTL_SMTP", line 21
ORA-06512: at "SYS.UTL_SMTP", line 99
ORA-06512: at "SYS.UTL_SMTP", line 241

 Or:

RCPT TO:xyz@usa.abc.com
DATA
550 5.7.1 Unable to relay for john.doe@anydomain.com
554 5.5.2 No valid recipients

 Or:

javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
javax.mail.SendFailedException: 550 5.7.1 <firstname.lastname@oracle.com>... Relaying denied

Or:

javax.mail.SendFailedException: 550 5.7.1 Unable to relay for
<email address>

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.