Hi all.
I need to send emails through Microsoft Outlook and I'm using the following code.
The problem is that it needs Outlook already executed to run.
Do you have a ole code that open Outlook in case it isn't running ?
thank you
TRY
oOutLook := TOleAuto():New("Outlook.Application")
oMailItem := oOutLook:CreateItem( 0 )
oRecip := oMailItem:Recipients
CATCH
MsgStop("Outlook isn't running.","Attention")
return(-1)
END
Best Regards,
Marco Turco
SOFTWARE XP LLP
Marco Turco
SOFTWARE XP LLP