Link to home
Start Free TrialLog in
Avatar of brianpsmith81
brianpsmith81

asked on

GoDaddy Administratively Denying Emails from being Sent

We have multiple pages that send asp.net web page forms to us via email that were working up until 11/27/07.  We have not made any changes to the aspx files that do the sending.  We get this error:

Mailbox name not allowed. The server response was: sorry, your mail was administratively denied. (#5.7.1)

 Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.Mail.SmtpException: Mailbox name not allowed. The server response was: sorry, your mail was administratively denied. (#5.7.1)

Source Error:

Line 52:         objSMTPClient.Credentials = CredentialCache.DefaultNetworkCredentials
Line 53:         objSMTPClient.DeliveryMethod = SmtpDeliveryMethod.Network
Line 54:         objSMTPClient.Send(objMailMessage)

And the code is attached.  Does anyone know of any changes that GoDaddy might have made recently, or have any other ideas as to what may be causing this?  Thanks!

Dim objMailMessage As New System.Net.Mail.MailMessage
        Try
            With objMailMessage
                .IsBodyHtml = True
                .From = New Net.Mail.MailAddress(strEmailFrom)
                .To.Add(strEmailTo)
                .Bcc.Add("******@yahoo.com")
                .Subject = strSubject
                .Body = strBodyEmail
            End With
 
            Dim objSMTPClient As New System.Net.Mail.SmtpClient("relay-hosting.secureserver.net", 25)
            objSMTPClient.Credentials = CredentialCache.DefaultNetworkCredentials
            objSMTPClient.DeliveryMethod = SmtpDeliveryMethod.Network
            objSMTPClient.Send(objMailMessage)
            lblMessage.Text = "Farriintaada waa la diray.<br />"
        Catch ex As Exception
            lblMessage.Text = "Email not sent. " & ex.ToString
        End Try

Open in new window

Avatar of RedKelvin
RedKelvin

Hi,
You aren't the only one, looks like this chap investigated this unsuccessfully.

http://forums.asp.net/p/988184/1277809.aspx#1277809

Contact GoDaddy directly, to see what the problem is.
ASKER CERTIFIED SOLUTION
Avatar of RedKelvin
RedKelvin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of brianpsmith81

ASKER

RedKelvin,

I did try contacting GoDaddy and they were SO helpful...after 15 minutes all I got was "I can't help you".

As for the second link, I take it it's telling me to use an email address associated with the same domain...but we don't have one - at least not that I am aware of.  Furthermore, until recently, it's always worked without one.  At any rate, this is causing me to strongly consider switching hosts.  How much trouble would it be (cost-wise and time-wise) to switch to someone like Brinkster (and still have the domain names managed by GoDaddy)?
Time wise it wouldn't be a big effort.

Cost wise may depend on if you are breaking a contract with GoDaddy. And you may have a small setup fee with another provider.

There would also be a short period of downtime, during the changeover
Sorry I took so long to accept this.
I needed to setup an email account that matched my domain name and have that be the sender of all outgoing emails (you can still set the submitter as the reply-to address), and then it worked.