I apolgize in advance for posting yet another godaddy email question. There seem to be a lot of them out there - but so far I haven't been able to find the solution. I'm getting this error when I try to send an email from my ASP.net pages hosted on godaddy.com
but I'm fairly sure I have no virus issues, no links or embedded goofy stuff in my email and yet I still get this message: "
The message was rejected because it contains prohibited virus or spam content
On a side note, I have been able to get this to go through once or twice for some reason - so feel good that the code itself is ok. Is there something else I can do to simplify my email message to go through consistently?
Thanks! Here is my code:
Dim Email As New System.Net.Mail.MailMessage( _
"xxxx@mydomainongodaddy.com", "me@rocketmail.com")
Email.Subject = "A PO Exception has been submitted."
Email.Body = "Test."
Dim mailClient As New System.Net.Mail.SmtpClient()
'This object stores the authentication values
Dim basicAuthenticationInfo As _
New System.Net.NetworkCredential("username", "password")
'Put your own, or your ISPs, mail server name onthis next line
mailClient.Host = "relay-hosting.secureserver.net"
mailClient.UseDefaultCredentials = False
mailClient.Credentials = basicAuthenticationInfo
mailClient.Send(Email)
It's not your code, and it's not GoDaddy. The receiving system sees the email as potential spam and rejects it. It could be content, it could just be that they reject mail from GoDaddy. Whatever it is, you need the email logs and support from the destination
system, neither of which you'll get if you're running a site on GoDaddy.
I just went through the same problem. It is a SEND problem with GoDaddy, not an error from the receiving email server. GoDaddy's SENDING spam filters are notoriously (see Google results) fickle. I found that about 50% of the time I put a hyperlink in
my email, GoDaddy would reject it with the error you described. (the hyperlink was just a confirmation link back to my GoDaddy-hosted site). On rare occasions GoDaddy would reject an email that had NO hyperlink in it, and no content other than "hello."
So it was tough to diagnose the problem quickly.
When I contacted them, GoDaddy said, "Sorry, if you get a dedicated server with us that may help the problem." Therefore after spending a DAY on this problem and trying all sorts of code modifications, I moved to CrystalTech (see my recent review of them
on hosting part of this forum), where everything is FINE. I've concluded that GoDaddy is RIDICULOUS in their stance to this problem, and I won't recommend them for hosting. See the web for more on this problem.
lpieczynski
Member
15 Points
44 Posts
Godaddy email being rejected with ".... it contains prohibited virus or spam content"
Jan 12, 2010 05:37 PM|LINK
I apolgize in advance for posting yet another godaddy email question. There seem to be a lot of them out there - but so far I haven't been able to find the solution. I'm getting this error when I try to send an email from my ASP.net pages hosted on godaddy.com but I'm fairly sure I have no virus issues, no links or embedded goofy stuff in my email and yet I still get this message: "
The message was rejected because it contains prohibited virus or spam content
On a side note, I have been able to get this to go through once or twice for some reason - so feel good that the code itself is ok. Is there something else I can do to simplify my email message to go through consistently?
Thanks! Here is my code:
Dim Email As New System.Net.Mail.MailMessage( _
"xxxx@mydomainongodaddy.com", "me@rocketmail.com")
Email.Subject = "A PO Exception has been submitted."
Email.Body = "Test."
Dim mailClient As New System.Net.Mail.SmtpClient()
'This object stores the authentication values
Dim basicAuthenticationInfo As _
New System.Net.NetworkCredential("username", "password")
'Put your own, or your ISPs, mail server name onthis next line
mailClient.Host = "relay-hosting.secureserver.net"
mailClient.UseDefaultCredentials = False
mailClient.Credentials = basicAuthenticationInfo
mailClient.Send(Email)
BobbyK43
Member
440 Points
171 Posts
Re: Godaddy email being rejected with ".... it contains prohibited virus or spam content"
Jan 12, 2010 08:29 PM|LINK
You should contact GoDaddy, it seems like they're restricting the content you're sending.
jeff@zina.com
All-Star
87499 Points
11611 Posts
Moderator
MVP
Re: Godaddy email being rejected with ".... it contains prohibited virus or spam content"
Jan 15, 2010 07:12 PM|LINK
It's not your code, and it's not GoDaddy. The receiving system sees the email as potential spam and rejects it. It could be content, it could just be that they reject mail from GoDaddy. Whatever it is, you need the email logs and support from the destination system, neither of which you'll get if you're running a site on GoDaddy.
Jeff
mgp22
Member
50 Points
79 Posts
Re: Godaddy email being rejected with ".... it contains prohibited virus or spam content"
Jan 18, 2010 05:22 AM|LINK
I just went through the same problem. It is a SEND problem with GoDaddy, not an error from the receiving email server. GoDaddy's SENDING spam filters are notoriously (see Google results) fickle. I found that about 50% of the time I put a hyperlink in my email, GoDaddy would reject it with the error you described. (the hyperlink was just a confirmation link back to my GoDaddy-hosted site). On rare occasions GoDaddy would reject an email that had NO hyperlink in it, and no content other than "hello." So it was tough to diagnose the problem quickly.
When I contacted them, GoDaddy said, "Sorry, if you get a dedicated server with us that may help the problem." Therefore after spending a DAY on this problem and trying all sorts of code modifications, I moved to CrystalTech (see my recent review of them on hosting part of this forum), where everything is FINE. I've concluded that GoDaddy is RIDICULOUS in their stance to this problem, and I won't recommend them for hosting. See the web for more on this problem.