<% 'contenu de la page sendmail.asp sch = "http://schemas.microsoft.com/cdo/configuration/" Set cdoConfig = Server.CreateObject("CDO.Configuration") With cdoConfig.Fields .Item(sch & "sendusing") = 2 ' cdoSendUsingPort .Item(sch & "smtpserver") = "relay-hosting.secureserver.net" .update End With Set objMail = Server.CreateObject("CDO.Message") Set objMail.Configuration = cdoConfig objMail.From = "info@xyz.com" objMail.To = "info@xyz.com" objMail.Subject = request.form("subject") strBody = "This is a new client registration request." & vbCrlf & vbCrlf strBody = strBody & "Here are the details." & vbCrlf & vbCrlf strBody = strBody & "Name: " & request.form("name") & vbCrlf strBody = strBody & "Country: " & request.form("message") & vbCrlf objMail.TextBody = strBody on error resume next objMail.Send Set objMail = Nothing Set cdoConfig = Nothing Response.Write("sendMail=success") %>