Convert HTML to MHTML using ASP.NET – ASP.NET
An RFC – compliant Multipart MIME Message (mhtml web archive) is one single file containing all related material such as linked documents and images serialized to their Base64 inline encoding representations. There is no native support for creating mhtml archives in .NET but thanks to the Windows CDO library this is easy accomplished.
MSIE does this for you. This article describes how to create .mht pages server-side.