Information générale
Catégorie:
Applications Internet
Marat,
This works great. How can I find a list of all available methods for the Outlook object. There could be lots of handy stuff there. Also, can Outlook Express be handled like this?
Thanks,
Allen
>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()
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement