June 2012

Exchange does not like Null character (\0) in outgoing email bodies

Last time I was developing for Microsoft Exchange, I was seeing a wierd exception in our application trying to send an email using Exchange (the application uses EWS Managed API to interact with Exchange).

The exception message went something like this when it was shown in the browser: