Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: ora-305500
Hi,
If the code used to send the message is identical to that to the under, then
I have solved the problem by suppressing the line in red (fat)of the code.
DECLARE
objOutlook OLE2.OBJ_TYPE;
objMail OLE2.OBJ_TYPE;
objArg OLE2.LIST_TYPE;
mail varchar2(2000);
alert_button NUMBER;
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',:TO); OLE2.SET_PROPERTY(objmail,'Subject',:SUBJECT); OLE2.SET_PROPERTY(objmail,'Body',:mail);
OLE2.INVOKE(objmail,'Send');
--OLE2.INVOKE(objmail,'Display');
OLE2.RELEASE_OBJ(objmail);
OLE2.RELEASE_OBJ(objOutlook);
Message('Votre message a été envoyé avec succés..............'); Message('Votre message a été envoyé avec succés.............');
END; Lynda
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: SIM/HAOUHACH
INET: lhaouhach_at_lth.sonatrach.dz
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Sat Oct 05 2002 - 06:33:22 CDT
![]() |
![]() |