User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Oracle section within the Web Development category of DaniWeb, a massive community of 426,411 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,335 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Oracle advertiser: Programming Forums
Views: 2608 | Replies: 0
Reply
Join Date: Aug 2007
Posts: 1
Reputation: sai.hanuman is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
sai.hanuman sai.hanuman is offline Offline
Newbie Poster

Troubleshooting ERROR OCOURED-29279->ORA-29279: SMTP permanent error: 500 Access Denied By Port Acces

  #1  
Aug 8th, 2007
HI here is the code which gets the error message
"ERROR OCOURED-29279->ORA-29279: SMTP permanent error: 500 Access Denied By Port Acces"
please do help me in this regards

thanks in advance

CREATE OR REPLACE PROCEDURE s_test
AS
l_name VARCHAR2 (1000) := '';
conn UTL_SMTP.connection;
send_from VARCHAR2 (1000) := 'aldrin.vas@hotmail.com';
send_to VARCHAR2 (1000) := 'suresh.g@gmail.com';
BEGIN
FOR x IN (SELECT file_name filename,
MAX (source_file_date) last_loaded_date
FROM audit
GROUP BY file_name
HAVING MAX (source_file_date) < TRUNC (SYSDATE) - 1)
LOOP
l_name := x.filename;
conn :=
str.stars_mail.begin_mail (sender => send_from,
recipients => send_to,
subject => 'RDP Audit',
mime_type => 'TEXT/HTML'
);
str.stars_mail.write_text (conn => conn, MESSAGE => l_name);
str.stars_mail.end_mail (conn => conn);
DBMS_OUTPUT.put_line ('Mail sent');
END LOOP;
EXCEPTION
WHEN OTHERS
THEN
DBMS_OUTPUT.put_line ('ERROR OCOURED' || SQLCODE || '->' || SQLERRM);
END;
/
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Oracle Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Oracle Forum

All times are GMT -4. The time now is 1:42 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC