We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

"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?


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;

Content-Type: text/html;
Content-Transfer-Encoding: quoted-printable

email content


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();
			//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);

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

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.