Interactive mail via Outlook
Posted: Mon Feb 20, 2006 2:17 pm
Hi,
is there a way to show the standard Outlook dialog to send an email via OLE ? I use this routine but the email start immediatly without the feature for the user to modify/integrate the email contents.
Thanks in advance.
Best Regards,
Marco
FUNCTION SendMail()
LOCAL oOutLook,oMailItem,oRecip,oAttach
oOutLook := CreateObject( "Outlook.Application" )
oMailItem := oOutLook:CreateItem( 0 )
oRecip := oMailItem:Recipients
oRecip:Add( "noc@softwarexp.co.uk" )
oMailItem:Subject := "Testing fw"
oMailItem:Body := "FW Body!" + CRLF + CRLF
oAttach := oMailItem:Attachments
oAttach:Add( "c:\sendmail.txt" )
oMailItem:Send()
RETURN NIL
is there a way to show the standard Outlook dialog to send an email via OLE ? I use this routine but the email start immediatly without the feature for the user to modify/integrate the email contents.
Thanks in advance.
Best Regards,
Marco
FUNCTION SendMail()
LOCAL oOutLook,oMailItem,oRecip,oAttach
oOutLook := CreateObject( "Outlook.Application" )
oMailItem := oOutLook:CreateItem( 0 )
oRecip := oMailItem:Recipients
oRecip:Add( "noc@softwarexp.co.uk" )
oMailItem:Subject := "Testing fw"
oMailItem:Body := "FW Body!" + CRLF + CRLF
oAttach := oMailItem:Attachments
oAttach:Add( "c:\sendmail.txt" )
oMailItem:Send()
RETURN NIL