I have a web page that users can fill out. I want them to click the "send" button, and get an e-mail in my box when they send it. My code currently opens their e-mail program, and gives them a blank e-mail to send. How do I make a button that sends an e-mail with the information the user filled out without opening their e-mail?
I started with a Front Page '03 template, and have been trying various solutions I've been able to google... But nothing is behaving quite like I need it to.
I started with a Front Page '03 template, and have been trying various solutions I've been able to google... But nothing is behaving quite like I need it to.
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta http-equiv="Content-Language" content="en-us"> <title>IT Support Issue</title> </head> <body> <p> <!--webbot bot="PurpleText" preview="Feedback Form - Customize the form below to collect the information you need. By default, the form data is saved to a text file on the web server using the FrontPage Save Results component. Edit the Form Properties to change this behavior." --> </p> <form method="POST" action="--WEBBOT-SELF--"> <!--webbot bot="SaveResults" u-file="C:\Documents and Settings\etaylor\Desktop\_private\feedback.txt" s-format="TEXT/TSV" s-label-fields="TRUE" s-builtin-fields="Date Time REMOTE_NAME REMOTE_USER HTTP_USER_AGENT" s-form-fields --> <p><strong>Send a text to IT staff for after-hours support.</strong></p> <p><strong>IT Support Issue:</strong></p> <dl> <dd><textarea name="Comments" rows="5" cols="42"></textarea></dd> </dl> <p><strong>Contact Information:</strong></p> <dl> <dd> <table> <tr> <td>Name</td> <td> <input type="text" size="35" maxlength="50" name="Username"></td> </tr> <tr> <td>Extension</td> <td> <input type="text" size="35" maxlength="50" name="UserEmail"></td> </tr> <tr> <td>Console Number</td> <td><input type="text" size="35" maxlength="50" name="UserTel"></td> </tr> <tr> <td>IP Address</td> <td><input type="text" size="35" maxlength="50" name="UserFAX"></td> </tr> </table> </dd> </dl> <p><input type="button" value="Send Text" onClick="location.href='mailto:myemail@sampledomain.com'"> <input type="reset" value="Clear Form"></p> </form> </body> </html>

Help
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.



Back to top












