General information
Category:
Internet applications
Try this approach:
loOutLook = CREATEOBJECT('Outlook.Application')
loOutLookItem = loOutLook.CreateItem(0)
loOutLookItem.Cc = "Send Cc"
loOutLookItem.TO = "Send To"
loOutLookItem.Subject = "Subject"
loOutLookItem.Body = "Body"
lcExportFile = "File to be sent"
*-- You may send it:
*-- As Attachment
loOutLookItem.Attachments.ADD(lcExportFile)
*-- Or As a body
loOutLookItem.HtmlBody = FILETOSTR(lcExportFile)
*-- Before To send:
*-- Display Before EMail
loOutLookItem.DISPLAY()
*-- Or JustSend
loOutLookItem.SEND()
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only