Unanswered: Need email.asp form to return sender IP
We are trying to set up an email form using email.asp. In our previous system we had a line of code that would return information to us from the sender, such as their IP address. I cannot get this to work with our new email form.
<----Removed body of form for clarity ----------->
<input type="hidden" name="email_From" value="email@example.com">
<input type="hidden" name="email_To" value="firstname.lastname@example.org">
<input type="hidden" name="email_Subject" value="Contact Form Submission">
<input type="hidden" name="email_ThankYou" value="Thank you for your email.">
<input type="hidden" name="email_Redirect" value="http://mysite.com">
<input type="hidden" name="env_report" VALUE="REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT">
This is the line that used to give us the needed information: <input type="hidden" name="env_report" VALUE="REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT"> I understand it does not work in this type of form, but I've been unable to determine what code would work. Has anyone here had any experience with this?
We have a website and on the site there is a Contact Us form. The visitor can type their information into the form and click submit to email the form to us without having to use their own email account to send the message.
On the form, we need to have some coding that will send us the visitors information, such as their IP address.
This is what I had added to the form earlier, but it didn't send me any information:
I called our Website hosting company back (again!) to get the answer to your question. This time the person I spoke to told me that I would have to create my own asp page in Dreamweaver and then do some other things with the database fields in order to get it to work properly.
If you can't tell, I'm very new at this. I've had a Website for six years, and it's been very successful, but the programming end just takes me a while to learn. It seems that everything keeps changing so fast. It's difficult enough to keep up with the changes on the business end of things, but when it comes to the technical I just get stuck sometimes. This is one of those times.
Why can't things just stay the same long enough for me to catch up?
Thank you for your help with this. I really appreciate that you took the time to answer me.
If you still want me to help you:
I know nothing about dreamweaver. I create my sites from scratch. Did they tell you to create it in dreamweaver because they have no control panel? There are many mail forms that you can cut/paste into your page, but it all depends on what mail component you are using. Ask your host which method you can use to send mail from your site-ask them if they support ASPEMail, Jmail, CDOSYS.