Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lotus Notes Mail via ActiveX Automation?
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00139240
Message ID:
00139315
Views:
24
I have used this little routine a few times and it has worked for me assuming a table with the name message and the associated fields.

oNotes = CreateObject("Notes.NotesUIWorkspace")
oNotes.OpenDatabase("","mail\someone's name.nsf")
oDocument = oNotes.ComposeDocument(,,"Memo")
lcRecipient = message.cRecip
lcSubject = message.cSubject
lcContents = message.mContents
oDocument.FieldSetText("SendTo",lcRecipient)
oDocument.FieldSetText("Subject",lcSubject)
oDocument.FieldSetText("Body",lcContents)
ODocument.Send()
oDocument.Close()

hope this works as I have not used it in quite some time.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform