Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error ORA-2002 when send mail

Status
Not open for further replies.

Pacholi

Programmer
Sep 30, 2003
6
CL
Hi, I hope everybody it's fine.
I try send a Email with UTL_SMTP, but only can send internally. I need send to others people, e.j: mymail@hotmail.com, mymail@yahoo.com, etc.

When i try to do that, appears the following error :

PDE-PXC019 Ora-20002: Relay rejected for policy reasons.

Apparently can't send email to outside( email in others server out of my net ).

Somebody help me?....

Thanks a lot

Pacholi

Atte.
Alejandro Devia M.
Consultor
Pyx
56-0-9 072 15 30
 
This sounds like a lan administration issue that your security guys do not want mail sent to external sources, especially since you state that it does work for internal people. Try sending it to an internal account which can forward the email to external people.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top