472,340 Members | 1,865 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,340 software developers and data experts.

Help Displaying email address in ASP form results

Hi Everyone - I am very new to scripting. I got a formmail.asp file off the internet to set up a simple form on a contact us page, The problem is that the email addresses in the results emails are displayed without the @ sign, and instead a %40 - I know I need to add something to either the HTML form or the formmail.asp file but I am not sure what and not sure where. I have pasted the form code below, if that helps at all.

the field with the problem is VisitorEmail

thanks
[html]
<form name="contactform" method="get" action="formmail.asp">
<input type=hidden name="recipient" value="xxx@xxx.xxx">
<input type=hidden name="subject" value="Request for More Information">
<input type=hidden name="redirect" value="http://www.fabfix.ca/ThanksPage.html">
<div style="margin-left: 24px; margin-top: 12px; margin-right: 15px;" class="b">
<div align="center"><img src="images/4_w2b.gif" alt="" width="222" height="36" border="0" style="margin-bottom: 16px;"><br>
<input name="VisitorName" type="text" class="b1" id="VisitorName" style="width: 289px; height: 25px;" value=" your name: ">
<br>
<br style="line-height: 1px;">
<input name="VisitorEmail" type="text" class="b1" id="VisitorEmail" style="width: 289px; height: 25px;"value=" e-mail: ">
<br>
<br style="line-height: 1px;">
<textarea name="VisitorComment" cols="35" rows="35" class="b1" id="VisitorComment" style="width: 289px; height: 96px; overflow: hidden;"> &nbsp;comments:</textarea>
<br>
<br style="line-height: 7px;">
<input type="submit" class="green" value="Submit">
<input name="Reset" type="reset" class="green" id="Reset" value="Reset">
</div>
</div>
</form>[/html]
May 31 '07 #1
2 1667
jhardman
3,406 Expert 2GB
Poobah,

The change is definitely being made in the scripting in formmail.asp. Could you show that code?

Jared
May 31 '07 #2
I Just Figured it out.

I added:

strbody = replace(strbody, "%40","@")

to the long list of special characters in the formmail.asp file.
Thanks for taking the time anyhow.

SUE
May 31 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

13
by: Nathaniel Maier | last post by:
Hi. How can I send form results to an email address based on what the user selects? e.g. not to the same address all the time, and not to all...
8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 ...
7
by: Christo | last post by:
OK. I have a mysql database and i have it displaying whats currently there using php, the problem is that I cannot insert into the database...
23
by: casper christensen | last post by:
Hi I run a directory, where programs are listed based on the number of clicks they have recieved. The program with most clicks are placed on top...
12
by: liamo | last post by:
Don't laugh lol I know your all php guru's : ) Ok, so I have little if any knowledge with the programming language php - only having created...
0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM...
9
by: pic078 via AccessMonster.com | last post by:
I need serious help - I have a frontend/backend Access database (2 MDE Files) that remains stuck in task manager after exiting the application - you...
10
by: Lloyd Harold | last post by:
I'm very new to PHP and attempting to put together a simple script for retrieving MySQL data of personal records. The MySQL table I'm using...
6
by: pagina21 | last post by:
I am a true beginner in Access and coding. I am creating a database with facility information and I want to use the address of a specific...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.