Hi Aspose team,
We have bought the OEM license for Aspose Email and try to use this in our product but it is not working at all. It is giving error – “Error message was “The License is not for this product.””. I am wondering what has been gone wrong. We are using binaries from following places :–
We have also tried following code :–
And try to put license on master version but it also not worked out. What we want to use aspose for converting MSG file to EML using c++ lib. Can somebody suggest what has been went wrong ?
We are using following code to setup license:–
System::SharedPtr<Aspose::Email::License> license = System::MakeObject<Aspose::Email::License>();
System::String license_path = u"c:/test/Aspose.Email.lic";
try
{
license->SetLicense(license_path);
std::cout << "License set successfully." << std::endl;
}
catch (System::Exception& ex)
{
std::cout << "There was an error setting the license: " << ex->get_Message().ToUtf8String() << std::endl;
}
Thanks
Dev