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

Free Support Forum - aspose.com

CheckSignature not available in dotnet core

The method CheckSignature() is not available in Aspose.Email for .NET Standard.
What is the reason that it’s not implemented ?
Are there any alternative ways to check the signature ?
My platform is linux.

@kitag,

Can you please share that which version you are using on your end. I suggest you to please try using latest Aspose.Email for .NET 20.3. In case there is still an issue then please provide the working sample project with us that we may refer on our end.

This is an example project on Dotnet Core 3.1 on Windows 10, using Aspose.Emaill 20.3.0, the latest on NuGet.

EmailCheckSignature.csproj

<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>netcoreapp3.1</TargetFramework>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="Aspose.Email" Version="20.3.0" />
  </ItemGroup>
</Project>

Program.cs

using Aspose.Email;
using System;

namespace EmailCheckSignature
{
   class Program
   {
      static void Main(string[] args)
      {
         var mail = new MailMessage();
         mail.CheckBounced();

         mail.CheckSignature();

         Console.WriteLine("Hello Aspose, there is no CheckSignature()" 
                         + "method available in .net core! (compiler-error)");
         Console.WriteLine("Here I am on Windows, but on Linux " 
                         + "it isn't available either.");
         Console.WriteLine("Hope to hear from you soon, " 
                         + "Have a great day");
      }
   }
}

@kitag.

You are right. This functionality was not implemented due to the lack of some methods in the NET core. We are currently doing investigation of this requirement and a ticket with ID EMAILNET-39737 has already been added in our issue tracking system to address the requirement. We will share the good news with you as soon as the issue will be addressed.