Question : Asp error when sending email error '8004020e'

Hello, I am getting error  '8004020e' when i try to send an email using this classic asp code, what is wrong?  My hosting is done through godaddy.com.

I get an error on the .Send line.
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
Dim ContactName, Email, Message, sch
Dim OBJ_EMAIL

ContactName = Request.Form("op1")
Email = Request.Form("op2")
Message = Request.Form("op3")

sch = "http://schemas.microsoft.com/cdo/configuration/"

Set cdoConfig = CreateObject("CDO.Configuration")

With cdoConfig.Fields
	.Item(sch & "sendusing") = 2
	.Item(sch & "smtpserver") = "relay-hosting.secureserver.net"
	.update
End With

Set cdoMessage = CreateObject("CDO.Message")

With cdoMessage
	Set .Configuration = cdoConfig
	.From = ContactName &"<"& Email &">"
	.To = "[email protected]"
	.Subject = "Contact Us"
	.HTMLBody = "" & Message & ""
	.Send
End With

Set cdoMessage = Nothing
Set cdoConfig = Nothing

Answer : Asp error when sending email error '8004020e'

yes they will.

check this.

http://www.amset.info/exchange/dnsconfig.asp

Going to bed man..its really late :-(

Please post your queries here - I will check in the morning.

Random Solutions  
 
programming4us programming4us