V10 bug with Simple MAPI attachments

There seems to be a bug with the way eM Client v10 handles email attachments when added using the Simple MAPI interface. The below code worked just fine in v9, however in v10 when used to attach multiple files such as PDFs to an email, all of the attachments end up containing the same data (the data of the last attachment), though they still keep their original filenames.

I’ve included my c# code below:

var mapi = new SimpleMapi();
mapi.AddRecipient(addr: address, name: name, cc: false);

if (proofs.Count > 0)
{
foreach (string proof in proofs)
{
mapi.Attach(filepath: proof);
}
}
mapi.Send(subject, "Dear " + orderDictionary[“BillFirstName”] + “,\n\n” + body);

I see this problem too, when i use file manager in windows and send more then one file. This problem exist since v10 i think.

I reached out to eM Client’s support team regarding this issue and they just got back to me with a download link to a new version which has patched this bug (v10.1.5145). I expect they’ll be publishing the new version shortly.

Suggest to try the latest V10.2.1712 BETA via the release history page if you haven’t already. It might have the fix in it.

If you do update, backup your current version first via “Menu / Backup” incase you need to restore for any reason. You can see when the backup is complete in Show Operations via clicking the drop-down on the right of Refresh top left.

I can confirm, that my problem is gone with the last beta!