Hello all,
In the past working with TLMDMapiSendMail I was able to attach files to a new mail using Outlook 360. The OS was Windows7 but with Windows10 it is not working. Now nothing happen.
TStringList* fileList = new TStringList();
SaveSelectedFilesToDir(GetTmpDir(), fileList);
int count = fileList->Count;
MlSnd->Attachment->Clear();
for (int i = 0; i < count; i++) {
MlSnd->Attachment->Add(fileList->Strings[i]);
}
MlSnd->SendMail();
delete fileList;
Thanks for your help
Thomas
Comments