"Reply All" in Outlook Doesn't Work after Adding EML to PST

Hi Aspose

If I execute the code below on the eml file below, it creates the PST and adds the email correctly. But if I then ‘Reply All’ on the email from Outlook, I receive an error ‘Sorry, something went wrong. You may want to try again.’. Is there any workaround to this?

Thanks

EML file
From: john@ionet.co.nz
To: peter@ionetsoftware.com
Cc: dave@ionet.co.nz, ian@ionet.co.nz
Subject: test email
Message-ID: <OF438AECE8.A4663B30-ONCC258732.00727B52-CC258732.00729138@LocalDomain>
Date: 15 Aug 2021 20:51:22
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary=“91422”

–91422
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: quoted-printable

email content

–91422–

Java code

try {

			//set paths
			String licPath = "c:\\aspose_test\\PSTExportLicense.lic";
			String emlPath = "c:\\aspose_test\\testemail.eml";
			String pstPath = "c:\\aspose_test\\testemail.pst";

			//set license
			int asposeLicKey = 83;
			String licInput = new java.util.Scanner(new java.io.File(licPath)).findWithinHorizon(java.util.regex.Pattern.compile(".*", java.util.regex.Pattern.DOTALL ), 0 );
			String licOutput = EncodeDecodeLicense(asposeLicKey, licInput);
			InputStream iStream = new ByteArrayInputStream(licOutput.getBytes(Charset.forName("UTF-8")));
			License asposeLicense=new License();
			asposeLicense.setLicense(iStream);
			
			//create pst
			PersonalStorage pst = PersonalStorage.create(pstPath, FileFormatVersion.Unicode);
			
			//load email
			MailMessage mailMessage=MailMessage.load(emlPath);			
			MapiMessage mapiMessage=MapiMessage.fromMailMessage(mailMessage);	
			
			//add to folder
			FolderInfo folder = pst.createPredefinedFolder("Inbox", StandardIpmFolder.Inbox);
			folder.addMessage(mapiMessage);
			pst.dispose();

		} catch(Exception e) {
			System.out.println("Import Error : " + e.toString());
		}

@ionet,
Thank you for posting the query. I reproduced the problem with the EML file and logged the issue with ID EMAILJAVA-34934 in our tracking system. Our development team will investigate this case. We will inform you of any progress. Unfortunately, I see no workaround yet.