Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error 553 w/ GoDaddy email page

Status
Not open for further replies.

codecomm

Programmer
Feb 14, 2007
121
0
0
US
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!
 
Most mail servers don't allow unauthenticated sending.

Try adding
Code:
.Fields.Item(sConfURL & "smtpauthenticate") = 1
.Fields.Item(sConfURL & "sendusername") ="[red]youremailaddress.com[/red]"
.Fields.Item(sConfURL & "sendpassword") ="[red]yourpassword[/red]"
just before the .To line

___________________________________________________________
If you want the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
Steam Engine Prints
 
johnwm,

By username and pwd, I'm assuming you mean the ftp login...maybe???

I've tried that just now, and got the same thing.
 
No I meant a valid email login to your SMTP server

___________________________________________________________
If you want the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
Steam Engine Prints
 
So, here's what I got to work:

The "from" variable is hardcoded to a valid email account other than a hotmail.com account which a user hitting the web site could possibly enter.

Initially testing the page, I used my own personal hotmail.com account in the user's email text box.

That failed!

I tried it as hard coding the ".From" part of the code, but still sent the user's email in the body of the message...so, it works now.

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top