General information
Title:
Email attachments in VFP using an MS Outlook object
I'm using the following code to send email from VFP 6.0 through Outlook:
oOutLookObject = CREATEOBJECT("Outlook.Application")
IF TYPE("oOutLookObject") = "O" AND !ISNULL(oOutLookObject)
oEmailItem = oOutLookObject.CreateItem(0)
WITH oEmailItem
.Body = lcBody
.To = lcTo
.Subject = lcSubject
.Importance = lnImportance
.Send
ENDWITH
ENDIF
My question is, how can I add multiple attachments to this email? Anyone know the correct syntax for that?
TIA
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