Salve raga
Ho questo blocco script asp
codice:
<%
Set Msg = CreateObject("CDO.Message")

  ' assume constants are defined within script file
  msg.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing")       = 2 ' cdoSendUsingPort
  msg.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "xxx.xxx.xxx.xxx"
  msg.Configuration.Fields.Update

      msg.To       = """User A"" <example@example.com>"
      msg.From     = """User B"" <exampleB@example.com>"
      msg.Subject  = "Hows it going? I've attached my web page"
      msg.CreateMHTMLBody = "http://localhost"
      msg.Send
		set msg = nothing
%>
che dovrebbe eseguire e inviare via mail la pagina localhost al mio indirizzo, ma dà 'sto errore:
The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be displayed.

--------------------------------------------------------------------------------

Please try the following:

Click the Refresh button, or try again later.

Open the localhost home page, and then look for links to the information you want.
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services

--------------------------------------------------------------------------------

Technical Information (for support personnel)

Error Type:
Microsoft VBScript runtime (0x800A01B6)
Object doesn't support this property or method: 'CreateMHTMLBody'
/wcv/MAIL/send.asp, line 21


Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)

Page:
GET /wcv/MAIL/send.asp

Time:
Tuesday, September 21, 2004, 8:54:21 AM


More information:
Microsoft Support