Trying to add a custom header item to a Lotus Notes email item, from the context of a Notes Client Extension before the mail is sent from the Lotus Notes client app.
Is this possible?
I’m looking along the lines of using something in the NSFItemSetText family of functions if at all possible, as opposed to the lotus script object model which I gather is COM components.
I’m implementing this in inherited code and have no reference on where I should be looking for a tutorial on this sort of thing.
Basic googling has led me into the realms of the horrible IBM reference site, and there simply must be something out there better than that.
You can add headers using the MailAddHeaderItem function, which is in mailsrv.h
If your using NSFItemSetText you might have code based on the SENDMEMO example. Have a Look at the SENDMAIL example which references using MailAddHeaderItemByHandle. The examples are included in the C api toolkit which you can download here if you don’t already have it.