I have Sharepoint 2007 server with FBA (i don't have access to the machine, can't run software on in, fba is well configured and working)
One of our client want to have some of the sites saved as a mht pages.
I was trying to use Interop.CDO but could not run it with fba authentication.
Any suggestion how to do it?
I can save this file as html using this code:
using (AuthenticationSvc.Authentication authSvc = new AuthenticationSvc.Authentication())
authSvc.Url = @"https://www.portal.com/_vti_bin/authentication.asmx";
authSvc.CookieContainer = new System.Net.CookieContainer();
authSvc.AllowAutoRedirect = true;
Cookie cookie = new Cookie();
AuthenticationSvc.LoginResult result = authSvc.Login("login", "pass");
if (result.ErrorCode == AuthenticationSvc.LoginErrorCode.NoError)
CookieCollection cookies = authSvc.CookieContainer.GetCookies(new Uri(authSvc.Url));
cookie = cookie
View Complete Post