oracle error 305500 [message #630219] |
Tue, 23 December 2014 04:03 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
narang79
Messages: 137 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 #630278 is a reply to message #630277] |
Wed, 24 December 2014 01:27 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
narang79
Messages: 137 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
|
|
|