Ürünlerimize göz atın

If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.

 

.NET 22.2.0 için Aspose.Email

İndirmek  Destek Forumu 

Dosya Ayrıntıları

  • İndirilenler:
  • 18
  • Dosya Boyutu:
  • 51.7 MB
  • Posted By:
  • DmitryS
  • Görünümler:
  • 60
  • Eklenme Tarihi:
  • 2/28/2022

Dosya Ayrıntıları

API ile Daha İyi TNEF İşleme

Önceden bazı durumlarda, TNEF (Transport Neutral Encapsulation Format) e-posta eki biçimi düz metin gövdesiyle ilgili sorun yaşıyordu. Bu sorun, API’nin mevcut sürümünde çözülmüştür.

// The path to the File directory.
string dataDir = RunExamples.GetDataDir_Email();

MsgLoadOptions options = new MsgLoadOptions();
options.PreserveTnefAttachments = true;
MailMessage eml = MailMessage.Load(dataDir + "EmbeddedImage1.msg", options);
foreach (Attachment attachment in eml.Attachments)
{
    Console.WriteLine(attachment.Name);
}

Referans Eklenti Desteği

API’de referans ekleri için destek uygulanmıştır. Bir ekin erişimi üzerinde daha iyi bir kontrole sahip olmak istiyorsanız, yerel dosya ekleri yerine bir referans eki tercih edilebilir.

var eml = MailMessage.Load("fileName");

var refAttach = new ReferenceAttachment("https://[attach_uri]")
{
    Name = "Document.docx",
    ProviderType = AttachmentProviderType.OneDrivePro,
    PermissionType = AttachmentPermissionType.AnyoneCanEdit
};

eml.Attachments.Add(refAttach);

EML’den PST’ye Dönüştürme için Geliştirilmiş Destek

Daha önceki bazı durumlarda, “EML” dosyaları “PST"den dönüştürüldüğünde, e-postaların referans eklerinin görüntülenmediği gözlemlendi. Bu sorun şimdi çözüldü.

Aşağıdaki C# kod parçacığı, API aracılığıyla basit “EML"den “PST” biçimine dönüştürmeyi gösterir:

using (var message = MailMessage.Load("sourceFile.eml")){
    using (var personalStorage = PersonalStorage.Create("outputFile.pst", FileFormatVersion.Unicode)){

        var inbox = personalStorage.RootFolder.AddSubFolder("Inbox");

        inbox.AddMessage(MapiMessage.FromMailMessage(message, MapiConversionOptions.UnicodeFormat));
	}
}

Bu sürümdeki özelliklerin, geliştirmelerin ve hata düzeltmelerinin tam listesi için lütfen Aspose.Email for .NET 22.2 Release Notes adresini ziyaret edin.

 Türkçe