Hello!
I'm getting the following error with GoDaddy.com, but customer support tells me I have the correct SMTP address.
They can't help me until I've proven the error is on their side.
I've used this code on other hosts, and it works just fine.
The actual error message is:
Reporting-MTA: dns;p3swhssl009.gdhosting.gdgReceived-From-MTA: dns;p3swhssl009.gdhosting.gdgArrival-Date: Mon, 2 Jun 2008 14:29:57 -0700
Final-Recipient: rfc822;info@domain.com
Action: failedStatus: 5.5.0Diagnostic-Code: smtp;553 sorry, your mail was administratively denied. (#5.7.1)
My code is (with two lines below commented out b/c that's the only way I could get the code to work) and go to my "successful" page:
Set oCdoMail = Server.CreateObject("CDO.Message")
Set oCdoConf = Server.CreateObject("CDO.Configuration")
sConfURL = "
with oCdoConf
'.Fields.Item(sConfURL & "sendusing") = 2
.Fields.Item(sConfURL & "smtpserver") = "relay-hosting.secureserver.net"
'.Fields.Item(sConfURL & "smtpserverport") = 3535 'port 25 didn't work either
.Fields.Update end with with oCdoMail
.From = vartxtEmailFrom
.To = "info@domain.com"
end with
with oCdoMail
.Subject = "Web Contact Form"
.TextBody = Body
end with
oCdoMail.Configuration = oCdoConf
oCdoMail.Send
Set oCdoConf = Nothing
Set oCdoMail = Nothing
************
************
Any ideas are much appreciated!
Thanks!
I'm getting the following error with GoDaddy.com, but customer support tells me I have the correct SMTP address.
They can't help me until I've proven the error is on their side.
I've used this code on other hosts, and it works just fine.
The actual error message is:
Reporting-MTA: dns;p3swhssl009.gdhosting.gdgReceived-From-MTA: dns;p3swhssl009.gdhosting.gdgArrival-Date: Mon, 2 Jun 2008 14:29:57 -0700
Final-Recipient: rfc822;info@domain.com
Action: failedStatus: 5.5.0Diagnostic-Code: smtp;553 sorry, your mail was administratively denied. (#5.7.1)
My code is (with two lines below commented out b/c that's the only way I could get the code to work) and go to my "successful" page:
Set oCdoMail = Server.CreateObject("CDO.Message")
Set oCdoConf = Server.CreateObject("CDO.Configuration")
sConfURL = "
with oCdoConf
'.Fields.Item(sConfURL & "sendusing") = 2
.Fields.Item(sConfURL & "smtpserver") = "relay-hosting.secureserver.net"
'.Fields.Item(sConfURL & "smtpserverport") = 3535 'port 25 didn't work either
.Fields.Update end with with oCdoMail
.From = vartxtEmailFrom
.To = "info@domain.com"
end with
with oCdoMail
.Subject = "Web Contact Form"
.TextBody = Body
end with
oCdoMail.Configuration = oCdoConf
oCdoMail.Send
Set oCdoConf = Nothing
Set oCdoMail = Nothing
************
************
Any ideas are much appreciated!
Thanks!