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

Free Support Forum - aspose.com

Converted PST files from EML not displaying reference attachments attached to the emails

Converted PST files from EML not displaying reference attachments attached to the emails.
What are reference attachments -> A link to a file stored in the cloud.i.e. OneDrive.
The Outlook Desktop client supports the creations of PST files with Reference Attachments inside of emails. While using the same eml(MIME) file to convert using Aspose the reference attachments are not visible.


To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input file.
  • Please create a sample application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.

Please find the attached fileReference Attachment Code.zip (29.5 KB)


We have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as EMAILNET-40522. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

can we get timeline ? its affecting our work


Unfortunately, there is no ETA available for your issue at the moment. We are investigating your issue and will share the ETA after completing the analysis.


Your issue has been scheduled for February 2022 release. Please note that this ETA is not final at the moment. However, we will inform you via this forum thread once this issue is resolved.

Any luck on this ? impacting our work.



@druvait, @upendra.d

Your issue has been resolved. Please use the latest version of Aspose.Email for .NET 22.2.0. We suggest you please read the Aspose.Email for .NET 22.2 Release Notes. Following APIs has been changed.

Changes in public API:

Aspose.Email.ReferenceAttachment - represents a reference attachment.
Aspose.Email.AttachmentPermissionType - The permission type data associated with a web reference attachment.
Aspose.Email.AttachmentProviderType - The type of web service manipulating the attachment.

Removed API:
ctor Attachment(Uri uri, string name, string mediaType)

Code samples:

MailMessage mail = MailMessage.Load(MyDir + "AddMessagesToPst_out2.pst");
Aspose.Email.ReferenceAttachment refAttach = new Aspose.Email.ReferenceAttachment("https://druvainternal-my.sharepoint.com/:w:/g/personal/lucky_druvainternal_onmicrosoft_com2/ES6-c7Nrcn9FpUXOsgNpVEkBTGiNfNN18xOxJ");
refAttach.Name = "Document.docx";
refAttach.ProviderType = AttachmentProviderType.OneDrivePro;
refAttach.PermissionType = AttachmentPermissionType.AnyoneCanEdit;

Team , we need a version for Aspose.Email for Python via .Net




Please download Aspose.Email for Python via .NET from here:
Download Aspose.Email for Python via .NET

For more detail, please read Aspose.Email for Python via .NET.

This has been released in 2021

image001.png (17.0 KB)