Creating the PST file directly into AWS S3 bucket

Hi,
I am exploring the possible options to create PST file in S3 bucket. Can Aspose.Email supports streaming directly to s3 bucket? or any other alternatives?
Please let me know.

Regds,
Hari

Hello @satyahc,

Aspose.Email for .NET does not provide a built-in feature to stream a PST file directly to an S3 bucket.

You can save the PST to MemoryStream and upload the stream to an S3 bucket using the AWS SDK.
Or save the PST file locally and upload the file to an S3 bucket.

Hi @margarita.samodurova ,
Thank you for your response. I did some research for possible solution to implement. I came across we can mount S3 bucket as a network drive (NFS) by using Amazon S3 File Gateway service.
if i point aspose.email library to write into this network drive, it will directly store into S3 bucket. But i am not sure if it has any limitations or issues.

I want to know, by any chance any of your customers implemented this approach and if so please share us? This will help us to take informed decision.

Thank you,
Hari

@satyahc,

Unfortunately, there are no documented Aspose.Email customers using this approach.
However, there may be potential limitations: writing directly to a network-mounted drive can introduce latency, and if the network connection to S3 is interrupted, the PST file may become corrupted.
Since S3 File Gateway is optimized for sequential writes, frequent small writes (such as adding emails to a PST) could impact performance.