salve a tutti
in attesa che qualkuno/a mi possa comunicare un web hosting che supporti CDONTS, potreste indicarmi l'errore del seguente script ?
L'errore che viene comunicato è :codice:<% 'On Error Resume Next Set Mail = Server.CreateObject("CDO.Message") Mail.From = "<user@lycos.it>" Mail.To = "strEMail" strBody = "Questo è il mio messaggio" Mail.Body = strBody Mail.Subject = "CIAO" Mail.MailFormat = 0 Mail.BodyFormat = 0 Mail.Send Set Mail = Nothing Dim MailInviata If Err.Number > 0 Then MailInviata = False response.write "false" Else MailInviata = True response.write "true" End If %>
la riga 9 è :codice:Microsoft VBScript runtime error '800a01b6' Object doesn't support this property or method: 'Mail.Body' /dardan/invioemail.asp, line 9
Mail.Body = strBody
grazie
ciao

Rispondi quotando