HTML = "<html><head>" &_
"<HEAD>"&_
"</HEAD>"&_
"<BODY bgcolor=""#FFFFFF"" text=""#000080"">"&_
"<P align=""center"">"&_
"<Font face=""Tahoma"" size=""6"">"&_
"
REGISTRAZIONE
"&_
"<P align=""left"">"&_
"[b]<font size=""2"">Caro Utente, " & Titolo & " " & Altro titolo & " " & Nome & " " & Cognome & " - N° utente " & idUTENTE & "
"&_
"<u>Hai selezionato:</u>
"&_
"SPK- REGISTRATION = Euro <font size""1"">"& spk1 & "
"&_
"SPK2 - REGISTRATION = Euro <font size""1"">"& spk2 & "
"&_
"STUDENTE - REGISTRATION = Euro <font size""1"">" & studente1 & "
"&_
"STUDENTE2 - REGISTRATION = Euro <font size""1"">" & studente2 & "
"&_
"
"&_
"Totale = Euro " & euro & "
"&_
"</p></body>" &_
"</html>"
Dim objMail, objConfig
Set objMail = CreateObject("CDO.Message")
Set objConfig = Server.CreateObject("CDO.Configuration")
With objConfig
.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "miosmtp"
.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
.Fields("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
.Fields.Update
End With
Set objMail.Configuration = objConfig
objMail.From = "da <da@miodominio.it>"
objMail.To = Email
' Cc e Bcc
objMail.Cc = "a <acc@miodominio.it>"
objMail.Subject = "Oggetto"
objMail.Fields("urn:schemas:httpmail:importance"). Value = 2
objMail.Fields.Update()
objMail.HTMLBody = HTML
objMail.Send()
Set objMail = Nothing