Oracle mail in Linux

Source: Internet
Author: User
Send an email using utl_smtp of Oracle. The same statement is tested on the front-end. When SQL plus is entered, an error is returned:
ORA-29279: SMTP permanent error 5.5.4
After checking for half a day, I finally found it on Metalink. For such an article, try it. It is OK and you need to add <> brackets.
This seems to have something to do with port, not necessarily appeared. It turned out to be OK. Today it suddenly didn't work. I suspect that when multiple mail sending processes are started at the same time, other non-standard ports may be used.

Ora-29279: SMTP permanent error: 501 bad address syntax Ora-29279
Doc ID: Note: 406256.1 type: Problem
Last revision date: 24-sep-2007 status: published

In this document
Symptoms
Changes
Cause
Solution
References

--------------------------------------------------------------------------------

Applies:
Oracle Server-Enterprise Edition-version: 9.0.1.4 to 10.2.0.4
Oracle Server-Personal Edition-version: 9.0.1 to 10.2.0.3
This problem can occur on any platform.
This problem is generic. It is related to SMTP configuration rather than database.

This is applicable to any database version.
Symptoms
On 9.x to 10.x:

-Using a stored procedure (s) that uses SMTP to send e-mail.
-When using the port 25 it works fine.
-From Linux, using the port 1025 to send e-mail is successful.
-When using another valid SMTP port, the following error is wrongly Ed:

ORA-29279: SMTP permanent error: 501 bad address syntax

Changes
The problem is a configuration issue at the SMTP level.
Cause
The SMTP is looking for <> in the address.
Usually e-mail addresses are sent as a joe@oracle.com (without brackets), but in this case, SMTP is expecting the angled brackets.

I. e. <joe@oracle.com>

Solution
Change the SMTP configuration to eliminate the looking for <> In the address or modify the code to add the angled brackets before and after the e-mail address.

This issue is not an oracle issue but one specific to the configuration of the SMTP server.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.