I have a Visual Basic 6.0 executable that formats Word documents then distributes them via MS Exchange. The code is standard MAPI code i.e. the code that adds an attachment to a new mail is
.
I would like to modify this executable so that it does the same thing with Lotus Notes R5. However, I have not been able to attach a file to a new memo with the existing code.
is accepted and the program doesn't fall over but no attachment is created.
How do I programmatically add an attachment to a Lotus Notes memo using MAPI?
Code:
'Set objAttachment = objMessage.Attachments.Add'
I would like to modify this executable so that it does the same thing with Lotus Notes R5. However, I have not been able to attach a file to a new memo with the existing code.
Code:
'Set objAttachment = objMessage.Attachments.Add'
How do I programmatically add an attachment to a Lotus Notes memo using MAPI?