SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Retrieving Attachments error.

 
Reply to topic    SoftTree Technologies Forum Index » DB Audit, DB Mail, DB Tools View previous topic
View next topic
Retrieving Attachments error.
Author Message
P.N.RAJESH



Joined: 20 Mar 2002
Posts: 1

Post Retrieving Attachments error. Reply with quote

Attachement retrieving error from DB Mail.

I created a directory in our VMS Oracle System scheama and give all previlege to
the user scheama.

CREATE OR REPLACE DIRECTORY CTST AS '$DISK4:[CTST]'

After sending an attachment from PL/SQL,
DECLARE
ATTACH_ID INTEGER;
RET_CODE INTEGER;
BEGIN

ATTACH_ID := ATTACH_FILE(NULL,1,'RAJ_ATTACH.TXT','CTST');

RET_CODE := send_mail('prajesh@dpa.co.ae',
'test email by pnr','test email attachment from pl/sql by pnr',
'prajesh@dpa.co.ae',null,1,attach_id);
end;

I am getting an error from DB Mail as follows.

Error retrieving attachments. Attachments ignored.

Tell me what is the problem?

Rajesh

Wed Mar 20, 2002 4:03 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6506

Post Re: Retrieving Attachments error. Reply with quote

The file was not attached. Make sure the specified file name is correct. Names are case sensitive on VMS.

: Attachement retrieving error from DB Mail.

: I created a directory in our VMS Oracle System scheama and give all previlege
: to
: the user scheama.

: CREATE OR REPLACE DIRECTORY CTST AS '$DISK4:[CTST]'

: After sending an attachment from PL/SQL,
: DECLARE
: ATTACH_ID INTEGER;
: RET_CODE INTEGER;
: BEGIN

: ATTACH_ID := ATTACH_FILE(NULL,1,'RAJ_ATTACH.TXT','CTST');

: RET_CODE := send_mail('prajesh@dpa.co.ae',
: 'test email by pnr','test email attachment from pl/sql by pnr',
: 'prajesh@dpa.co.ae',null,1,attach_id);
: end;

: I am getting an error from DB Mail as follows.

: Error retrieving attachments. Attachments ignored.

: Tell me what is the problem?

: Rajesh

Wed Mar 20, 2002 8:38 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » DB Audit, DB Mail, DB Tools All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.