I am currently having a problem converting .msg file to pdf.
The code works locally on my workstation but when the code is hosted on Azure Function App, nothing happens.
- Code: Select all
StringBuilder sb = new StringBuilder();
sb.AppendLine("<html><body><div>test</div></body></html>);
Spire.Pdf.HtmlConverter.Qt.HtmlConverter.PluginPath = @"C:\home\site\wwwroot\plugins";
Spire.Pdf.HtmlConverter.Qt.HtmlConverter.Convert(sb.ToString(), newFileName, Spire.Pdf.HtmlConverter.LoadHtmlType.SourceCode);
Configuration Azure :
Function 32 bits
Target Run Time : Portable
Microsoft.NET.SDKs Function : 3.0.3
Plugin 32 bits dézippé in wwwroot\plugins : e-iceblue.com/downloads/plugins/plugins-windows-x86.zip
No error occurs when executing the HtmlConverter.Convert method.
No File was created.
Thank you for your help