Buongiorno, dopo aver cambiato server tutti gli script del mio sito che inviavano email hanno smesso di funzionare... causa mancanza di CDONTS. Allora li ho traformati in CDO.

prima il codice era così:
Codice PHP:
Dim objNewMail,body
Set objNewMail 
Server.CreateObject("CDONTS.NewMail")

objNewMail.From "NAME@NAME123.net"
objNewMail.To "NAME@NAME123.net; [email]NAME@NAME456.net[/email]"

objNewMail.Value("Reply-To") = "NAME@NAME123.net"
objNewMail.Importance 2

objNewMail
.Subject "MY SUBJECT"

body "Text" rs("Data")& " text" vbCrLf
body 
body "text" vbCrLf vbCrLf
........
........
body body "text" vbCrLf
body 
body "text" vbCrLf
body 
body "text" vbCrLf
body 
body "text" vbCrLf

body 
body "text" vbCrLf
body 
body "text: "rs("UserName") & vbCrLf
body 
body "IP: "rs("IPUtente") & vbCrLf
body 
body "il: "rs("Data") & vbCrLf vbCrLf
body 
body "Specifiche Utente: "Request.ServerVariables("HTTP_USER_AGENT") & vbCrLf vbCrLf
body 
body "text" vbCrLf
objNewMail
.body body

objNewMail
.Send
Set objNewMail 
Nothing 
adesso ho trasformato così:
Codice PHP:
'Now lets put the variables and other information we need into the mailing script
Dim ObjSendMail
Set ObjSendMail = CreateObject("CDO.Message")
'
This section provides the configuration information for the remote SMTP server.
ObjSendMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 'Send the message using the network (SMTP over the network).
ObjSendMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "mail.myserver123.net"
ObjSendMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
ObjSendMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = False '
Use SSL for the connection (True or False)
ObjSendMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
ObjSendMail
.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 'basic (clear-text) authentication
ObjSendMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusername") = "email@myserver123.net"
ObjSendMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "PASSWORD"
ObjSendMail.Configuration.Fields.Update
'
End remote SMTP server configuration section
ObjSendMail
.To "email@myserver123.net"
ObjSendMail.Subject "TEXT Subject"
ObjSendMail.From "email@myserver123.net"

' we are sending a html email.. simply switch the comments around to send a text email instead
'
ObjSendMail.HTMLBody "MyBody"
ObjSendMail.TextBody "MyBody"

ObjSendMail.Send
Set ObjSendMail 
Nothing 
Adesso funziona ma nell'body del messaggio arriva il testo MyBody
ma se inserisco le variabili che sono registrate nella pagina:

Codice PHP:
MyBody ""
MyBody MyBody "Name: "rs("name") & vbcrlf vbcrlf
MyBody 
Mybody "Zip: "rs("zip") & vbcrlf vbcrlf 
non arriva più niente... come devoi formattare l'ultima parte dello script?
Mi potete aiutare?