Sorry as I know I must sound stupid here but how do I add/import a namespace to my project? Microsoft.Exchange.Data.Mime is what i need but I cannot find the way to add in visual studio?
Thanks

Add namespace Microsoft.Exchange.Data.Mime to project?
You have to install the 'Microsoft.Exchange.Data.Common' nuget package first. Then try to import it into your file. I would suggest using MimeKit, which is a more sophisticated Mime tool for .NET.
