Forum Moderators: phranque

Message Too Old, No Replies

Problems with IP address as part of a form submission

Why was the submission rejected?

         

BeeDeeDubbleU

11:33 am on Mar 31, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I have just completed a small website for a client which included an online enquiry form. I put myself on the receipt list, tested the form and everything seemed to be fine. The client them told me that she was not receiving the submissions so I checked this out and could find nothing wrong with it.

We started a process of elimination and making a long story short it turned out that the email was being rejected because I had included the sender's IP address as one of the fields submitted. When I took this out it worked no problem.

She is not local so I cannot check her PC but she says she is not aware of any spam filters on her PC. (Someone else looks after her IT). She uses the AVG antivirus application with which I am not familiar. Does anyone know if this could be stopping the online form from being received?

trillianjedi

11:42 am on Mar 31, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Just to clarify, nothing is wrong with the form submission, the problem is that her mail server is rejecting emails containing an IP address?

Is that correct or have I got the wrong end of the stick (it is Friday)?

TJ

BeeDeeDubbleU

11:55 am on Mar 31, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I add the users IP address to the data submitted received by the form. This is just a plain text field that says something like

Enquirer's IP address: 123.321.123.321
Enquirer's Name: John Doe
Address 1: 10 High Street
Address 2: Anytown
Etc. Etc.

When I removed the IP address the form was received normally so there is something on her PC that is stopping it because of the IP being included.

trillianjedi

12:09 pm on Mar 31, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Sorry, I'm still a little confused here. Is this an email issue or a form submission software issue?

TJ

BeeDeeDubbleU

1:17 pm on Mar 31, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Sorry, perhaps I am not explaining this properly but it is an email issue. The form submission works fine. I put an address of mine on the receipt list and I get it no problem.

trillianjedi

1:24 pm on Mar 31, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



OK, got it. So basically her email client or server doesn't like things that look like IP addresses (could be an anti-phishing thing).

Ignoring the cause for the moment, and doing a bit of lateral thinking, could you rewrite the IP address to have dashes or underscores instead of dots?

EG:-

192.168.0.1

becomes:-

192-168-0-1

TJ

Staffa

1:34 pm on Mar 31, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I cannot see how the inclusion of an IP number in the body of an email text can be the problem.
After all, the number - although structured as and IP number - could just as well be a product stock number.

trillianjedi

1:43 pm on Mar 31, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I agree it's odd, but there's no telling what an IT department might put in their email filter rule set.

I've seen stranger things done...