Recently we have migrated from windows server 2003 to windows server 2012. We are using OpenPop to get the mails from the mail box and convert it into xml files. Application was working fine in windows server 2003. but we are getting an xml invalid error windows server 2012.
Below is the sample which shows the diffece between the xml generated in windows server 2003 and windows server 2012
windows server 2003
Mail Delivery Failure <span style="FONT-FAMILY: Courier New"><span style=&quo t;FONT-FAMILY: ; FONT-SIZE: 13px">-- This email has reached the Bank via an exteal source -- <br></span><strong> </strong></font></ font></span></span></font></span>
Windows server 2012
Mail Delivery Failure -- This email has reached the Bank via an exteal source --
 
In Windows server 2012 formating is placed in tags which is throwing the server
