Home » Developer & Programmer » Forms » oracle error 305500
oracle error 305500 [message #630219] Tue, 23 December 2014 04:03 Go to next message
narang79
Messages: 131
Registered: June 2010
Senior Member
hi i m using oracle 10g database and forms 6i

i want to try send a mail through forms 6i

coding is

PROCEDURE inmail IS
BEGIN

DECLARE
--PROCEDURE SendMail
objOutlook OLE2.OBJ_TYPE;
objMail OLE2.OBJ_TYPE;
objArg OLE2.LIST_TYPE;
vfilename varchar2(300);

BEGIN
objOutlook := OLE2.CREATE_OBJ('OUTLOOK.Application');
objarg := OLE2.CREATE_ARGLIST;
OLE2.ADD_ARG(objarg,0);
objMail := OLE2.INVOKE_OBJ(objOutlook,'CreateItem',objarg);
OLE2.DESTROY_ARGLIST(objarg);

OLE2.SET_PROPERTY(objmail,'To',:EMAIL_ID);
OLE2.SET_PROPERTY(objmail,'Subject','kkkk');
OLE2.SET_PROPERTY(objmail,'Body','jjjjj');
OLE2.INVOKE(objmail,'Send');
OLE2.INVOKE(objmail,'Display');
OLE2.RELEASE_OBJ(objmail);
OLE2.RELEASE_OBJ(objOutlook);
Message('Your mail sent successfully..............');
Message('Your mail sent successfully..............');

exception

when others then

message(sqlerrm);message(sqlerrm);

END;

but i got a error on this line
objMail := OLE2.INVOKE_OBJ(objOutlook,'CreateItem',objarg);

ora-305500 non oracle exception

please help me
Re: oracle error 305500 [message #630244 is a reply to message #630219] Tue, 23 December 2014 09:14 Go to previous messageGo to next message
CraigB
Messages: 386
Registered: August 2014
Location: Utah, USA
Senior Member
Do you have Microsoft Outlook installed on the computer?

Craig...
Re: oracle error 305500 [message #630276 is a reply to message #630244] Wed, 24 December 2014 01:14 Go to previous messageGo to next message
narang79
Messages: 131
Registered: June 2010
Senior Member
yes i have a microsoft outlook installed on my pc

but i have not instaled ms office outlook express
Re: oracle error 305500 [message #630277 is a reply to message #630219] Wed, 24 December 2014 01:21 Go to previous messageGo to next message
narang79
Messages: 131
Registered: June 2010
Senior Member
i m confused here

because i have a instal outlook express on my pc which is by default in window

i have not instal another microsoft outlook
Re: oracle error 305500 [message #630278 is a reply to message #630277] Wed, 24 December 2014 01:27 Go to previous message
narang79
Messages: 131
Registered: June 2010
Senior Member
is it mandatory to instal microsoft outlook express

can i run my mail through window outlook express?

if not then pls tell me which version of microsoft outlook have to instal
Previous Topic: Web_util and Forms 6i
Next Topic: Create Forms Like Matrix
Goto Forum:
  


Current Time: Sat Apr 20 06:45:31 CDT 2024