We are saving the email as .msg file from mail server. But after saving the msg file <!–[if gte mso 9]>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:TrackMoves/>
<w:TrackFormatting/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>EN-US</w:LidThemeOther>
<w:LidThemeAsian>X-NONE</w:LidThemeAsian>
<w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:SplitPgBreakAndParaMark/>
<w:EnableOpenTypeKerning/>
<w:DontFlipMirrorIndents/>
<w:OverrideTableStyleHps/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
<m:mathPr>
<m:mathFont m:val=“Cambria Math”/>
<m:brkBin m:val=“before”/>
<m:brkBinSub m:val="–"/>
<m:smallFrac m:val=“off”/>
<m:dispDef/>
<m:lMargin m:val=“0”/>
<m:rMargin m:val=“0”/>
<m:defJc m:val=“centerGroup”/>
<m:wrapIndent m:val=“1440”/>
<m:intLim m:val=“subSup”/>
<m:naryLim m:val=“undOvr”/>
</m:mathPr></w:WordDocument>
<![endif]–><span style=“font-size:11.0pt;font-family:“Calibri”,sans-serif;
mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;color:#1F497D;
mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA”>then
hyphen( – ) is changing to question mark (?) in email Body So can you pls let me know why it is happening.
In the attached excel file the customer mentioned the screenshot of both.
I was able to observe the issue in the attached Excel file however to re-produce the issue, actual email is required for further analysis.
Could you please provide the email file which is converted to MSG file for our testing? It will help to observe the problem and provide solution as soon as possible?
TEST Arbor Pharmaceuticals LLC - 00464388(Aspose.Email Evaluation).msg
TEST Change Report scanned as a Census - ACTION REQUIRED.msg
These MSG files are loaded into MailMessage and saved back as MSG file again however no issue is observed. Could you please confirm if these are the source emails which are downloaded from the server? If not, please send us the source EML files along with the sample code used for conversion. I have tried the following code:
MailMessage mail = MailMessage.Load(@“TEST Arbor Pharmaceuticals LLC - 00464388(Aspose.Email Evaluation).msg”, MailMessageLoadOptions.DefaultMsg); mail.Save(@“Output1.msg”, SaveOptions.DefaultMsgUnicode); MailMessage mail2 = MailMessage.Load(@“TEST Change Report scanned as a Census - ACTION REQUIRED.msg”, MailMessageLoadOptions.DefaultMsg); mail2.Save(@“Output11.msg”,SaveOptions.DefaultMsgUnicode);
Your code sample shows that you are using an older version of Aspose.Email API. Please download the latest version of the Aspose.Email for .NET 6.3.0 and try with it. Please let us know your feedback then.
Please post your inquiry on Aspose.Purchase forum to get information about subscription renewal. You can also get a 30-day temporary license free of cost for evaluating the product completely without any limitations.