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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to