I am moving the hosting of a website from one server to another.
The website includes a form submitted by e-mail.
When "submitting" the form on the new hosting server the following error message occurs:-
CDO.Message.1 error '80040220'
The "SendUsing" configuration value is invalid.
/confirm.asp, line 36
I do not know what the code was originally written in, but I am now using MS Expression Web.
The webpages are all.asp and the new server (1&1) has Frontpage Server Extensions enabled (although I don't know if that's relevant anymore, afer moving to Expression Web).
I've attached the relevant code. Can anybody help please?
Dim myName, myEmail, myContact, myTime, myOrder, myAddress, myPostcode
Dim myMail, myText
Set myMail = Server.CreateObject("CDO.Message")
myMail.From = myEmail
myMail.To = "[e-mail address here]"
myMail.CC = myEmail
myMail.BCC = "[e-mail address here]"
myMail.Subject = "[e-mail subject here]"
myText=myText & "Name: " & myName & vbCr & vbLf
myText=myText & "Email: " & myEmail& vbCr & vbLf
myText=myText & "Tel: " & myContact& vbCr & vbLf
myText=myText & "Address: " & myAddress& vbCr & vbLf
myText=myText & "Postcode: " & myPostcode& vbCr & vbLf
myText=myText & "Time: " & myTime & vbCr & vbLf & vbCr & vbLf
myText=myText & "Order: " & myOrder
myMail.TextBody = myText
Set myMail = Nothing