Re: [Httpmail-devel] MSXML and Security settings
Status: Beta
Brought to you by:
fuzz
From: Toru M. <tor...@ya...> - 2003-08-18 21:56:02
|
>> >The thing I have found is that the XMLHTTP object no longer works to >> connect. >> It does work fine. (...only if you change the security setting.) Guess what. Today, I applied Win2000 Service pack 4. I restarted my PC. I tried to continue debuging my code using XMLHTTP... The same exact code stoped working. I get ole error. I guess you are right. XMLHTTP is gone... At least in server environment, like win2k. In win 9x(such as win98, 98SE, Me), you MUST use XMLHTTP, and under Win2000 or XP, you MUST use ServerXMLHTTP. I even tried VB Code. Nop. It does not work anymore. The same exact code fails. Even, old "MSXML2.XMLHTTPRequest" is gone too. I just ran this program yesturday! I looked up MSXML4 sdk help: "MSXML 4.0 uses WinHTTP 5.0 for the ServerXMLHTTP object, a server-side interface for handling HTTP requests. This object differs from the XMLHTTP object, which performs in a similar role as a client-side interface on most computers running Windows. The primary difference between these two interfaces is that XMLHTTP cannot be used in a server environment. This is because it depends upon the WinInet component, which was not designed to provide adequate performance in server-side use" Hope this info helps. >> >I have had to use IServerXMLHTTP interface to do EVERYTHING. >> Requirements >> Supported platforms include Microsoft Windows 2000, or Microsoft Windows NT >> 4.0 >> with Microsoft Internet Explorer 5.01 (or later) installed. >> ServerXMLHTTP fails on other platforms, such as Microsoft Windows 98. >> {Microsoft XML Core Services (MSXML) 4.0 SDK} >> >> >> >I have an article >> >being submitted to Delphi Informant on access to Hotmail from Delphi, >> including >> >SENDING MESSAGES via Hotmail and synchronizing HM Contacts with your local >> WAB. >> >It also includes a lot of functionality that is not in the VB example, such >> as >> >creating/deletion of folders, emptying of the trash folder, etc. >> > >> >Once I get the article published, I'd be more than happy to post the units >> for >> >you to see. The publishing schedule looks to be January. >> >> Oh..That would be nice. thanks. >> >> >BTW, I am also writing a component that encapsulates all this functionality. >> > >> >> Right now I'm trying to use Indy HTTP Client component to get around this >> issue. >> I believe Wininet does not redirect if the security option does not allow. >> >> But the thing right now is that the Indy's HTTP component does not offer >> "PROPFIND"..... >> >> >> > >> >--- Toru Marumoto <tor...@ya...> wrote: >> >> >> >> I have a working sample in Delphi. >> >> It uses MSXML3(XMLHTTP). >> >> >> >> My problem is that in order to connect to Hotmail server, >> >> I have to change the Internet Security settings. >> >> { >> >> Internet Option-> security-> {Internet} Custormize-> >> >> allow(or show dialog) data source access between different domain. >> >> } >> >> otherwise the soft hangs up when trying to connect. >> >> >> >> I found the same problem in your VB sample project. >> >> But Outlook Express has no problem. >> >> >> >> Does any one have a solution to this? >> >> >> >> >> >> I might have to change registry programmatically. >> >> But that's the last thing I want to do. >> >> >> >> Win 2000 >> >> MSXML2.6/3/4 >> >> > > >__________________________________ >Do you Yahoo!? >Yahoo! SiteBuilder - Free, easy-to-use web site design software >http://sitebuilder.yahoo.com > > >------------------------------------------------------- >This SF.Net email sponsored by: Free pre-built ASP.NET sites including >Data Reports, E-commerce, Portals, and Forums are available now. >Download today and enter to win an XBOX or Visual Studio .NET. >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 >_______________________________________________ >Httpmail-devel mailing list >Htt...@li... >https://lists.sourceforge.net/lists/listinfo/httpmail-devel __________________________________________________ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/ |