Contact form coming in as spam
Posted: 08 February 2010 12:53 PM   [ Ignore ]  
Summer Student
Total Posts:  20
Joined  01-22-2010

I have a contact form on my website.  I am using FreeForm to process my form also.
When I test the form and submit it, it goes to my email as spam and also produces this message:

Subject of email is:  Mail Delivery Subsystem

The original message was received at Thu
, 28 Jan 2010 17:09:44 -0700
from localhost
.localdomain [127.0.0.1]

  
----- The following addresses had permanent fatal errors -----
<
me@gmail.com>
   (
reason: 553 sorry, your mail was administratively denied. (#5.7.1))

  
----- Transcript of session follows -----
... while
talking to relay-hosting.secureserver.net:
>>>
MAIL From:<me@gmail.com>
<<<
553 sorry, your mail was administratively denied. (#5.7.1)
501 5.6.0 Data format error

Final
-Recipient: RFC822; me@gmail.com
Action
: failed
Status
: 5.1.3
Diagnostic
-Code: SMTP; 553 sorry, your mail was administratively denied. (#5.7.1)
Last-Attempt-Date: Thu, 28 Jan 2010 17:09:44 -0700


---------- Forwarded message ----------
From: <me@gmail.com>
To: me@gmail.com
Date
: Thu, 28 Jan 2010 17:09:43 -0700
Subject
: Someone has posted to Freeform
Someone has posted to Freeform
. Here are the details:

Entry Date: 2010-01-29 12:09 AM
Attachments
: 0
Form Name
: contact_form
Name
: tad
Email
: otheremail@gmail.com

Could it be my site is hosted on Godaddy?  or could it be just my email address which is at Gmail?

Thanks!

Profile
 
 
Posted: 08 February 2010 03:04 PM   [ Ignore ]   [ # 1 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1193
Joined  12-18-2008

well your site is most likely sharing an ip address since it’s being hosted at godaddy, and some large free email providers have IP-based ban lists, so it is possible that your server’s IP address has made its way to a blacklist based on the activities of other people that have shared that IP.  purely speculation, but we’ve seen it happen.

edit: also might be because you’re using your own address as the from address in freeform.  might want to change that to something like “admin@mysite.com”.

 Signature 

EE Pro Network
eMarketSouth - web design & development, SEO, video production, and more
ExpressionEngine consulting services - complex SQL queries, .htaccess url rewriting, custom plugins/modules/extensions, template optimization, javascript/jQuery enhancements, and more!
Skype: tywangsness

Profile
 
 
Posted: 08 February 2010 08:02 PM   [ Ignore ]   [ # 2 ]  
Summer Student
Total Posts:  20
Joined  01-22-2010

so would my best bet for form submissions is to use a external php form script that I have or any other suggestions?

Thanks

Profile
 
 
Posted: 09 February 2010 01:59 AM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  29130
Joined  05-15-2004
tmwwebdesigns - 08 February 2010 08:02 PM

so would my best bet for form submissions is to use a external php form script

How would that change anything, if ender’s suspicions are correct? You should probably follow his second piece of advice, and use a sender, making sure you put the domain name in there if you haven’t done so yet.

 Signature 

ExpressionEngine 2.0 Downloads | Docs | Bugtracker

“If the English language made any sense, lackadaisical would have something to do with a shortage of flowers.” (Doug Larson)

Profile
MSG
 
 
Posted: 09 February 2010 06:12 AM   [ Ignore ]   [ # 4 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  614
Joined  03-05-2008

from recent experience i think the above could be right… but also check this… if you are sending the mail using PHP functions, then try swapping it to use SMTP and send through a real mailbox. Sounds stupid but SPAM software is able to identify messages sent via script as opposed to mailbox. This resolved a problem for one of my clients…

However, be aware that other problems might arise with this. The host my client wanted to use also blocked PORT 25 for sending, so they needed to use an alternative SMTP port - in our case 587. Easy to change - but be aware…

And yes it is possible GoDaddy are black listed in that way, like many other hosts are. But i would bet GoDaddy would spend more time getting their mailservers unblocked than they would their site server servers.

 Signature 

ModeTen Designs - @ModeTen - Stock Photos & Vectors

Profile
 
 
Posted: 09 February 2010 05:25 PM   [ Ignore ]   [ # 5 ]  
Summer Student
Total Posts:  4
Joined  12-30-2009

Your host doesn’t allow to relay email messages which are from your gmail.com email address. You will need to use an email address which is sent from an email address which is within your domain (i.e. “admin@yourdomain.com”)

On the Godaddy website, you will need to set up the following parameters within your settings:
- Admin Home -> Configuration -> Email Options -> - E-Mail Transport Method = sendemail
- Admin Home -> Configuration -> Email Options -> Emails must send from known domain = NO

You should already have a free email account that can be used with your domain. It just needs to be set up if it hasn’t already. Then once you know the email address (i.e. “admin@yourdomain.com”), use it in the Phpmail script and test it out. Chances are it will be working then. The SMTP route is kind of annoying to deal with and usually not necessary.

 Signature 

Custom USB Drives

Profile
 
 
Posted: 21 February 2010 09:33 PM   [ Ignore ]   [ # 6 ]  
Summer Student
Total Posts:  20
Joined  01-22-2010

still having issues with this.
I setup a email on my Godaddy hosting using the domain the website is located and entered that into the Freeform script, tested and for some reason it still goes to my gmail account and as spam. 

the email i setup is its on email, not a forward, so no reason to continue to my gmail account.

here is the freeform script”

{exp:freeform:form
    form_id
="contact_form"
    
form_name="contact_form"
    
return="thanks"
    
notify="myemail@mysite.com"
    
mailinglist="contact_leads"
    
mailinglist_opt_in="no"
    
required="name|email|message"
}

Also, i tried an external php script that i use on all my other sites i host (godaddy hosting) and it doesnt work either on teh EE site but works on all the other sites without EE.

Any more ideas?

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1743, on December 02, 2009 03:47 PM
Total Registered Members: 120130 Total Logged-in Users: 78
Total Topics: 126275 Total Anonymous Users: 42
Total Replies: 664122 Total Guests: 330
Total Posts: 790397    
Members ( View Memberlist )